Repeating section in start form. Same repeating section in a task form with data from start form.
I have a repeating section in start form. In a Task Form, I want to display the row of data from the start form repeating section. And add an editable field for each row to get a status for each row.
How can I do that?
I understand that I can do a loop for each and get item from collection, but how can I have the data in my task form?
Page 1 / 1
hi @poirisop,
Wondering if the help page might help resolve for your use case? There is a video on the page which provides further details on how to setup editable repeating section when your start event is a Nintex Workflow form.
I followed all the steps in the video, using export/import for my task form. However, the data from my repetitive section in start form, is not displayed in my task form. The rule doesn't seem to be working.
The rule looks ok. I have attached a cut-down version of the workflow in the video.
See if that works for you. If so, you can see how it is put together and how it may differ from your current configuration.
Hi @poirisop Has your question been answered?
I have never found a way to take the rows from a Repeating Section in the Start Form and place them in the Repeating Section in a Task Form. I’m curious if anyone has been able to find that method.
Only thing I’ve been able to do is generate an HTML table, using a loop in the workflow, and display that in the Task Form.
Hi @PabloL,
Please see the posts above. It is now possible to display Repeating sections from start event forms on Task forms.
Wow, that looks helpful. So I create a rule that populates the repeating section controls using the “getCollectionItem” function.
I wish I had known this a year ago. I would have built my forms & workflows differently.
Hi @MillaZ,
Yes, my question have been answered. My workflow is working now.
It was my “count” formula in the Default number of rows that was not okay.
Thank you very much @SimonMuntz
@SimonMuntz ,
This is nice but I want it to work for data lookup dropdowns in the Repeating Section. It seems to work for Short Text controls, but not data lookups. Any suggestions?
I have another issue. It only displays the 1st row. I tried to copy your example, which was working, and I set the rules so that if the control on the repeating section is blank, then fill it with that formula. But it only fills the first row. I can then click “Add new row” and the new row appears & values are there, but it won’t display it automatically. Here are some screenshots. Any suggestions?
formula is:
getCollectionItem(eWorkflow].nStart event variables].eForm variables].[Repeating section Other Persons].nName of Other Person Involved],PForm].IRepeating section Other Persons].nCurrent row].sRow number]-1)
Wait, I found the missing piece.
In the Repeating section, I had to fill the Default number of rows, to this formula: