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

  • January 28, 2025
  • 9 replies
  • 121 views

Forum|alt.badge.img+4

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:
 

 

9 replies

Forum|alt.badge.img+4
  • Author
  • Rookie
  • January 28, 2025

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


Forum|alt.badge.img+4
  • Author
  • Rookie
  • January 28, 2025

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


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • 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


Forum|alt.badge.img+4
  • Author
  • Rookie
  • 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.


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • 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.


Forum|alt.badge.img+4
  • Author
  • Rookie
  • January 29, 2025

Hi Simon,

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

 

Thank you and much appreciated any helps.

 

Antonio


SimonMuntz
Nintex Employee
Forum|alt.badge.img+23
  • Nintex Employee
  • 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:
 

 


Forum|alt.badge.img+4
  • Author
  • Rookie
  • 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.

 

 

 


Forum|alt.badge.img+4
  • Author
  • Rookie
  • February 13, 2025

Hi Simon, 

Your solution works.

 

Thank you again.