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

Question

Question

Trim a Token AFTER Concatenate [Workflow]

asked on December 31, 2014

I am Retrieving Laserfiche Form fields that include Address1 & Address2 with the latter being optional.

In a subsequent step, I Assign a Token value that concatenate the two fields in what I call Full Address using Token dialogue: Address1 Address2

When Address2 is blank, I am left with a trailing whitespace.  

 

How do I trim it?  Is this possible within 1 Assign Token step?

Any and all help will be appreciated.

0 0

Answer

SELECTED ANSWER
replied on December 31, 2014

You can do this easily with one Assign Token Values activity by simply creating a placeholder token which concatenates the two values, and then creating the Full Address token below it and trimming the token you just created. 

Trim.png
Trim.png (26.97 KB)
3 0

Replies

replied on December 31, 2014

Thanks for responding so quickly!  The minimalist in me wants it to happen in 1 step...  Any ideas on how to have that happen?

I've been tinkering within the dialogue and even tried: (Address1 Address2#TRIM#)

Would I be able to evaluate Address2 for being blank prior to concatenating... In 1 step, of course (;

0 0
replied on December 31, 2014

I just reviewed your Reply again... This is 1 Workflow step!

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

Sign in to reply to this post.