Skip to main content
Nintex Community Menu Bar

How do I separate multiple items in a single line text held in a collection?

  • January 5, 2021
  • 1 reply
  • 158 views

Forum|alt.badge.img+2

I have a single line textbox that has location codes separated by ;

My form uses a list lookup that connects to this single line text field to hold all location codes selected.

 

I placed it in the a collection using a regular expression by using the split method and placing in the collection.

 

When I use the for each to log history, it only does it once and shows all the location codes instead of on a separate line.

Am I separating this right? How do I call on the collection to grab these individually?

Example in collection - "12;11;14;2011"

1 reply

SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • January 5, 2021
Hi,

How is your Regular expression action configured as your explanation of what you are doing should work.