Skip to main content
shaikg2747
April 25, 2023
Question

How to read XML output from an integration output..?

  • April 25, 2023
  • 6 replies
  • 0 views

Hi, 

I have to read the integration output which will be in XML, how to consider the tags that I need to get from the output...?

Thanks in advance,

Gousi.

6 replies

stefanhelzle0001
April 25, 2023

I am not sure I understand your actual question.

You can cast a XML structure to CDT and use xpathsnippet to navigate in the XML structure.

docs.appian.com/.../fnc_scripting_torecord.html

docs.appian.com/.../fnc_scripting_xpathsnippet.html

shaikg2747
April 25, 2023

Actually, we are not using any CDT's and totally working with Records. And I will be getting an integration output in an XML format, and I have to consider some tags from that output to calculate the score which is my requirement.

April 25, 2023

Yes that's what Stefan suggested, you can use xpathsnippet() or extract() function to get the required tags from the XML output.