You are viewing limited content. For full access, please sign in.

Question

Question

How to add values in the same field? (not using multi-values)

asked on February 26, 2018

Hi all,

 

I have 3 files with metadata in my Laserfiche.

Using workflow, I'm creating a new file.

This new file should have a data's combination from the firsts.

 

Example :

File 1 : field1 = S

File 2 : field1 = O

File 3 : field1 = S

New File : field1 = SOS

 

I tried to use "Create Token" + "For each entries" + "Retrieve field values" + "Modify Token"

 

 

 

 

But I have only 1 result in my new field.

(In my example : New File : field1 = "S")

 

I don't want to use multi-values ; I need all values in one.

Thanks in advance.

 

Regards

0 0

Answer

SELECTED ANSWER
replied on February 26, 2018 Show version history

First I have to ask what your For Each loop is pulling from?  I don't see any kind of activity where you searched for files 1, 2, and 3 in order to pull the values from all 3.

Once you have it finding all the files you need values from, make your first token multi-value.  Then when you assign it to a field on the new file, you just need to use the Apply Index in the token dialog box and separate the values with a space or comma or something.  That put all the values from the token on 1 line. 

The caution with this is to make sure your field is long enough to hold all the values.  For example if you are pulling a field that is 10 characters long but you have 6 values that would be over 60 characters.  Make sure the field you are putting in is at least that long.

CombineMultiValue.jpg
ForEachValue.jpg
3 0

Replies

replied on February 26, 2018

The trick is in the second Assign Token Values, where you modify the existing token value.

Each time through the loop Modify Value on the token.  Token + the current Retrieve Field Value.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.