Skip to main content
Nintex Community Menu Bar
Solved

Split variable collection result from xml output to a sharepoint list multi line of text column


Forum|alt.badge.img+2

Hello,

Is anyone be able to split a value from variable collection output from XML to a multi line of text in SharePoint list. Building a Nintex workflow but for some reason I was unable to get it working using the Regular Expression or Build String workflow action.

Any help is much greatly appreciated.

 

Thank you.

Antonio

Best answer by SimonMuntz

Hi ​@aorellano,

Please see the attached workflow for the solution.
It’s just a matter of looping through the collection that is output from the Query XML action and adding it to a build string action. 

Result:
 

 

View original
Translate

9 replies

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • January 28, 2025

By the way attached herewith is my Regular Expression and the result of it.

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • January 28, 2025

Here is the result I want to accomplish (please see attached).

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2436 replies
  • January 28, 2025

Hi ​@aorellano,

Nintex for SharePoint has a Query XML action that can parse XML.
Have you tried that?
https://help.nintex.com/en-US/nintex2019/current/sp2019/Workflow/ActionsCore/ReadXML.htm

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • January 28, 2025

Hi Simon,

Thank you for your reply, yeah I have the Query XML as part of my workflow to get the XML value from the repeating section and stored that value in a variable collection. The result of my variable collection is with the semicolon as the delimiter. I want that delimiter remove and split the value to get the result I want but for some reason it does not work.

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2436 replies
  • January 28, 2025

Hi ​@aorellano,

Can you provide a sample of the XML output you are working with?
I know your issue is with the semicolons, but if they can be avoided to start with, you won't need to remove them.

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • January 29, 2025

Hi Simon,

Attached here with is the xml output from the repeating section. 

 

Thank you and much appreciated any helps.

 

Antonio

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2436 replies
  • Answer
  • January 29, 2025

Hi ​@aorellano,

Please see the attached workflow for the solution.
It’s just a matter of looping through the collection that is output from the Query XML action and adding it to a build string action. 

Result:
 

 

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • February 5, 2025

Hi Simon,

 

Sorry for late response here, going to try the solution and let you know if it works.

 

Again, thank you for your help much appreciated.

 

 

 

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • February 13, 2025

Hi Simon, 

Your solution works.

 

Thank you again.

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