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

  • Jan 28, 2025 6:03 PM UTC
  • 9 replies
  • 191 views
  • Translate All

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 Simon Muntz

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

9 replies

Forum|alt.badge.img+4
  • Author
  • Rookie
  • Jan 28, 2025 7:12 PM UTC

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

Translate

Forum|alt.badge.img+4
  • Author
  • Rookie
  • Jan 28, 2025 7:15 PM UTC

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

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 28, 2025 9:10 PM UTC

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+4
  • Author
  • Rookie
  • Jan 28, 2025 9:25 PM UTC

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

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Jan 28, 2025 9:35 PM UTC

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+4
  • Author
  • Rookie
  • Jan 29, 2025 9:32 PM UTC

Hi Simon,

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

 

Thank you and much appreciated any helps.

 

Antonio

Translate

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • Answer
  • Jan 29, 2025 11:08 PM UTC

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+4
  • Author
  • Rookie
  • Feb 5, 2025 5:54 PM UTC

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+4
  • Author
  • Rookie
  • Feb 13, 2025 10:57 PM UTC

Hi Simon, 

Your solution works.

 

Thank you again.

Translate