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

Question

Question

Does "Save to Repository" Service Task Effectively Populate Template Field Groups?

asked on December 27, 2017

Hi All,

In Forms, when using a collection with fields that correspond 1-to-1 with those in a Field Group on a template, will the "Save to Repository" service task's "Configure fields" option populate those groups "intelligently"? In other words, if I add, say, 3 of these collections to my form and submit, will the system add 3 instances of that field group to the template it populates and applies to the form being saved to the repository?

Alternatively/additionally: if I "Configure fields" in Forms to assign a token to a template field that's multivalued, will the system add instances of the field to the template for each instance of the token passed from Forms?

Thanks!

Rob

0 0

Answer

SELECTED ANSWER
replied on December 27, 2017

Hi Rob,

I am pretty certain that the only way to configure multi-value fields would be using workflow.   Trying to configure a multi-value field when saving to the repository from Forms will only fill out the first value of the field.

Your best bet is to save the form to the repository with an identifier (field) such as the submission id.  Then call a workflow that is able to find your saved form via that submission id and then iterate over your form collection(s) populating the multi-value field on the saved document.   It would be a nice feature to be able to populate multi-value fields right from Forms.

0 0
replied on December 28, 2017

Hi Andrew,

That's what I was thinking but didn't want to build a rather hefty workflow if I could avoid it. Hefty workflow it is!

Thank you,

Rob

0 0

Replies

replied on November 18, 2019

Hi - sorry to resurrect this thread, but we have the exact same situation: we're trying to take the data in a Forms collection and insert the various elements into corresponding template fields that are set up as a Template Field Group. 

Is this possible without having to resort to using a Workflow Service Task?

0 0
replied on November 9, 2022

Has a feature been added to support multiple field groups in Forms to save to LF?

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

Sign in to reply to this post.