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

Question

Question

How to separate collection values in the email body

asked on September 15

Hi Everyone

I’m working with a collection field in Laserfiche Forms, and I want to include the values in an email notification. Right now, the values appear together without clear separation. How can I format the email body so that each collection item is displayed separately (for example, one per line or in a list)?

 

BR,
MATT ARENAS

0 0

Replies

replied on September 16

Using the "Assign Token Values" activity, create a new single-value token that contains all of the values of your multi-value collection token separated by the HTML needed to display it the way you want. Example:

Then, when adding this token to the Email activity, format it as HTML. Example:

In this example, the resulting HTML would be:

Test1<br>Test2
0 0
replied on September 16 Show version history

Hi Kevin,

 

This is in workflow, right? But in my project, I will use the Form usertask email, and the value of the field is in a single-line field in forms from a multi-value field of a template, and I used workflow to invoke it to Forms. Sample output is Test1,Test2. The output is the same when it is in the email.


I need the output displayed like this in an email.

Sample output

Test1

Test2

0 0
replied two days ago

Anytime you use a multi-value token you can separate the values when used in the Token Dialog.



 

0 0
replied two days ago

Thank you, James.

 

I already did that, but the result was the same. I need the Laserfiche Cloud business process user task email to separate the value of the workflow token.

0 0
replied one day ago

OK.  We're on-site.  Cloud seems to have unexpected differences.  Good luck.

0 0
replied one day ago

Hi James,

 

I used the Laserfiche Cloud business process user task email, and then I used workflow to separate the value of the multi-value field of repository metadata.

This is the scenario:

1. The user uploads a document and indexes it.

2. The workflow automatically runs and gets the value of each document's metadata or index value. Then the workflow invoke process will auto-trigger the business process and populate the value of the metadata or index field to the form user's task email.

3. The user assigned to the task received the email. Then the values of metadata or the index field are formatted in a list view of the user email app.

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

Sign in to reply to this post.