Skip to main content
April 18, 2022
Question

Error Converting XML to CDT using torecord() function.

  • April 18, 2022
  • 6 replies
  • 0 views

I am getting the below-mentioned error while converting xml to cdt using torecord() function. 

Does any one know what is the root cause of this error ?? or Let me know alternatives of converting XML to CDT ?

Thanks

6 replies

April 18, 2022

Hi Akash,

I am not quit sure about the logic that you are using. Please see this documentation this might help to fix your issue. https://docs.appian.com/suite/help/22.1/fnc_scripting_torecord.html

April 18, 2022

Hi Naresh, 

Thanks for your reply.  But I have followed the same torecord( xml, type ).

peter.lewis
Employee
April 18, 2022

Is SearchInquiryResponse the name of your CDT that you're trying to convert to? Also are there any special characters in the value you're trying to convert?

I'd suggest trying to remove parts of your XML until you get to a state that works - there's probably a certain tag or structure that is incorrect and it may take some trial and error to find which one is the culprit.