Solved

Repeating Section in Task Form

  • 18 August 2022
  • 3 replies
  • 226 views

Badge +1

In the start form, a user captures data in a repeatable section. How do I display this in a subsequent task review/approval form.

icon

Best answer by Garrett 18 August 2022, 14:00

View original

3 replies

Userlevel 6
Badge +16

Hi @EckardMeyer 


Currently, there isn't a way to display the repeating section in the Task Form.


 


One workaround is to extract the values from the Repeating Section and build a HTML Table. This table is then place inside the Task Form.


  


 

Userlevel 6
Badge +16

@EckardMeyer 


 


How to build the HTML Table from the Repeating Section data


Here is the Start Event Form. 



 


You can extract the values using a For-Each Loop and Set Variable action



 


Configure the For-Each action to read the Repeating Section collection.



 


Configure the Set Variable. Since my data has 4 columns (Item Name, Unit Price, Quantity and Total), I need 4 variables (Col01, Col02, Col03, Col04). 



 


Use a "Create a Text String" to build the HTML Table (this is very basic html)


Just append row data to the txtTable variable



Now you can use the variable in your Task Form as a html table. 

Userlevel 6
Badge +16

Hi @EckardMeyer 


 


Did my suggestion manage to help?


Let me know if you are facing any issues with extracting the Repeating Section values.


 


Cheers

Reply