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

Question

Question

How to Display Each Collection Item Separately in Laserfiche Forms Cloud Email Notifications?

asked on December 10

I’m working with a collection field in Laserfiche Forms Cloud, and I need to display the values properly inside an Email User Task notification.

Right now, the collection values appear together in one line (e.g., Test1,Test2), even though the source field contains multiple rows. I’d like each item to appear separately, either as line-by-line text or as a list, like:

Test1
Test2

Current Setup

  • The values originate from a multi-value metadata field in the repository.

  • A Workflow retrieves the metadata values and sends them to a Forms Business Process through Invoke Business Process.

  • The multi-value data is passed into a Forms collection variable, then displayed in the email template through a single-line field.

  • The Email User Task currently outputs the values on one line.

Scenario Flow

  1. User uploads a document and fills out the index fields.

  2. Workflow reads the metadata, separates each value, and triggers the Forms process.

  3. The assigned user receives an Email User Task notification, but the values appear as a single combined string instead of separate lines.


Current Email Code

<td style="padding: 8px; font-weight: bold;">Deliverable Subject/s</td>
<td style="padding: 8px;">{/dataset/Hide_DocNo_DocTi/var_DocNo_DocTi_Val}</td>

{/dataset/Hide_DocNo_DocTi/var_DocNo_DocTi_Val}
→ This is a multi-value (collection) parameter, but the email template displays it as one line.

Question

How can I format the Email User Task body so that each item in the collection appears separately—either on separate lines or as a bullet list—in Laserfiche Forms Cloud?

0 0

Replies

replied on December 11

Have you tried using a hidden custom html field on the form that you dynamically set to the format you want? Then send that html instead of the specific fields.

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

Sign in to reply to this post.