Skip to main content
Nintex Community Menu Bar
Solved

Repeating section in start form. Same repeating section in a task form with data from start form.

  • March 13, 2025
  • 17 replies
  • 161 views
  • Translate

poirisop
Forum|alt.badge.img+3

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?

 

Best answer by SimonMuntz

Hi ​@poirisop,

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.

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+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. 

 

 

Translate

poirisop
Forum|alt.badge.img+3
  • Rookie
  • March 14, 2025

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.

This is my rule:

getCollectionItem([Workflow].[Start event variables].[Form variables].[Products].[Part Number],[Form].[Products].[Current row].[Row number]-1)

What am I missing?

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • March 16, 2025

Hi ​@poirisop,

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.

Translate

MillaZ
Nintex Employee
Forum|alt.badge.img+21
  • Nintex Employee
  • March 17, 2025

Hi ​@poirisop 
Has your question been answered? 

Translate

Forum|alt.badge.img+8
  • Apprentice
  • March 17, 2025

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.

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • March 17, 2025

Hi ​@PabloL,

Please see the posts above.  It is now possible to display Repeating sections from start event forms on Task forms.

Translate

Forum|alt.badge.img+8
  • Apprentice
  • March 18, 2025

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.

Translate

poirisop
Forum|alt.badge.img+3
  • Rookie
  • March 18, 2025

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 

Translate

Forum|alt.badge.img+8
  • Apprentice
  • March 20, 2025

​@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?

Translate

Forum|alt.badge.img+8
  • Apprentice
  • March 21, 2025

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([Workflow].[Start event variables].[Form variables].[Repeating section Other Persons].[Name of Other Person Involved],[Form].[Repeating section Other Persons].[Current row].[Row number]-1)

Translate

Forum|alt.badge.img+8
  • Apprentice
  • March 21, 2025

Wait, I found the missing piece. 

 

In the Repeating section, I had to fill the Default number of rows, to this formula:

count([Workflow].[Start event variables].[Form variables].[Repeating section 1].[Address])

 

It is working now. The only remaining problem is that it cannot fill in the value of a data lookup control.

Translate

poirisop
Forum|alt.badge.img+3
  • Rookie
  • April 2, 2025

​@SimonMuntz : is it possible to inactivate the ā€œAdd new rowā€ and ā€œDeleteā€ button in the editable repeating section used in a task? I would like my task assignee to only be able to update some fields in the repeating section, but not adding, nor deleting a row.

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • April 2, 2025

Hi ​@poirisop,

You can add some CSS to the form to disable the add row and the bin icons.

  1. Navigate to the Styles tab of the form.
  2. Scroll to the bottom of the styles panel and under the Advanced Styles section toggle enabled.
  3. Click the edit css button and add the below code.

The main thing you need is pointer-events:none. The rest is to make the button look disabled so you can style it to your liking.

[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section button {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section svg {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

 

Translate

poirisop
Forum|alt.badge.img+3
  • Rookie
  • April 3, 2025

​@SimonMuntz  Wow! Thank you very much.

I have another question: I have a repeating section within another repeating section. Can I disable the buttons just for one repeating section, but not for the other? I’m not familiar with CSS code. I would like my user to be able to add a new component, but not a new part.

Also, I have problems with the count and getCollectionItem formulas for the repeating section (Missing Components) inside the repeating section (Products)

COUNT:

I tried this formula, but it is returning me the number of rows of my Products section, not the number of row of my Missing components section 😢

count([Workflow].[Assign a task to DC Control Sheet].[Assign a task to multiple users].[First response].[Form variables].[Products].[Missing Components].[Component Part Number])

and for the getCollectionItem formula, I tried many formulas, but i am not able to figure it out šŸ˜¢

 

 

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • April 3, 2025

Hi ​@poirisop 

The following code will disable the parent repeating section but enable the nested repeating section. Please test it before putting it into production.
I am unsure if nested repeating sections are supported at this stage to be populated.
This may be supported shortly. If the feature eventuates, this process will be much simpler, but you will need to reconfigure your existing repeating sections. Stay Tuned.
 

[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section button {

opacity: 0.6;

cursor: not-allowed;

pointer-events: none;

}

[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section .ntx-repeating-section-remove-button {

opacity: 0.6;

cursor: not-allowed;

pointer-events: none;

}



[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section ntx-repeating-section button {

opacity: 1;

cursor: default;

pointer-events: auto;

}

[dir] .nx-theme-styles .nx-theme-form ntx-repeating-section ntx-repeating-section .ntx-repeating-section-remove-button {

opacity: 1;

cursor: default;

pointer-events: auto;

}

 

Translate

poirisop
Forum|alt.badge.img+3
  • Rookie
  • April 14, 2025

I have a repeating section within another repeating section.

I have problems with the count and getCollectionItem formulas for the repeating section (Missing Components) inside the repeating section (Products)

COUNT:

I tried this formula, but it is returning me the number of rows of my Products section, not the number of row of my Missing components section 😢

count([Workflow].[Assign a task to DC Control Sheet].[Assign a task to multiple users].[First response].[Form variables].[Products].[Missing Components].[Component Part Number])

and for the getCollectionItem formula, I tried many formulas, but i am not able to figure it out šŸ˜¢

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • April 14, 2025

Hi ​@poirisop,

At this point, nested repeating sections are not supported.
Nintex is currently adding additional functionality to the Repeating section control, so it should be available soon.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings