cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
hadri94
Nintex Newbie

Repeating Section in Nintex Workflow

Jump to solution

Hi,

I'm creating a "Subscribe Newsletter Form" in Nintex Forms, where I'm using a repeating section with a People Control.

How can I extract the data from the repeating section to use it in Nintex Workflow for the workflow action "Send notification (E-Mail)"?

Thank you for your help.

Reply
9 Replies
emha
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

- connect repeating section control to a plaintext multiple line text field

- set a name for each control within repeating section

- then in workflow use query XML action to parse repeating section's data from above configured list field

- use XPath expression like: //PeopleControlName to get all the values from a given control from repeating section. save results into a collection variable

- use collection variable in send notification action as mail addressee

have a look on example eg. here   

Reply
christinagatele
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

Hi Marian,

Please can you expand on this?  I am trying to achieve the same thing but it isn't working.

- I have created a dummy list which has a people picker control called 'Recipient'

- I put this control into a repeating section called 'RecipientSection'

- I connected the repeating section to a plaintext multiple line text field called 'ListofAll'

- I believe the connection is working correctly as the following screenshot suggests:

- I then created a workflow and added two actions: Query XML and Send Notification:

- I also added a collection variable called 'varRecipients'

- I completed the Query XML action as follows:

- I then added the variable to the Send Notification action:

When I create a new item in the list the workflow doesn't error, but I'm not receiving the email notifications that I'm expecting.

Please can you let me know if there is a flaw somewhere?

Many thanks!

0 Kudos
Reply
emha
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

- I have created a dummy list which has a people picker control called 'Recipient'

- I put this control into a repeating section called 'RecipientSection'

you cannot connect a control within repeating section to a list field.

- I completed the Query XML action as follows

you miss there a definition of source XML which you want to be parsed.

so put a reference to ListOfAll list field into XML input.

the rest seems to be correct.

0 Kudos
Reply
christinagatele
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

Thanks, Marian.  You say to: connect repeating section control to a plaintext multiple line text field

I seem unable to do this.  That's why I connected the repeating section itself because this was the only way I could do it.  Have I misunderstood?

0 Kudos
Reply
emha
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

repeating section control  was meant as whole repeating section.

not as a single control within repeating section.

sorry if I made it confusing.

That's why I connected the repeating section itself because this was the only way I could do it.

that's correct.

0 Kudos
Reply
hadri94
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

Hi Marian,

- I created a people picker control called "Participant".

- I put this control into a repeating section, connected to a plain text multiple line text field called "Repeating Section")

- Workflow collection variable "ParticipantsList"

Query XML:

Send notification:

May you tell me what I'm doing wrong regarding this task?

Thank you!

0 Kudos
Reply
christinagatele
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

Hi, I really struggled with this at first, but here was my solution in the end...

In my form my control name and repeating section are as follows:

  • control name = Participant
  • repeating section = RecipientSection

In my workflow I have 2 variables:

  • varRecipients (Collection)
  • varListofAll (Multiple lines of text)

My 'Query XML' action looks like this:

I inserted the variable varRecipients into the 'To:' field of my Send notification action.

Hopefully based on the information that I gave to you you can replicate this.

Best wishes,

Christina.

0 Kudos
Reply
emha
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

and what's the problem with it?

you do not get notifications? or?

have you tried to write ParticipantsList to log to see what values does it get populated with?

0 Kudos
Reply
hadri94
Nintex Newbie

Re: Repeating Section in Nintex Workflow

Jump to solution

Hi Christina,

Thank you very much for your help but unfortunately I couldn't solve the problem,

even I tried the same steps as you described.

Best regards,

Hadri

0 Kudos
Reply