Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
1479 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am making my first attempt at using the 'load' and 'torecord'
wkenny
over 10 years ago
I am making my first attempt at using the 'load' and 'torecord' functions in an attempt to load an XML string into a cdt. I believe I have my cdt set up correctly, and I have the script task executing the load/torecord functions successfully, however the cdt is not getting populated.
The expression as I have it formatted is:
'load( local!final:pv!finalGetAutoTransResponseBody_Txt, torecord(local!final,pv!getPreAuthorizedTransfers_CDT))'.
Again, the XML string contained in the process variable 'finalGetAutoTransResponseBody_Txt and the cdt appear to match correctly and the process model runs successfully, but the CDT does not get loaded....
OriginalPostID-99516
OriginalPostID-99516
Discussion posts and replies are publicly visible
Parents
0
evan.rust
Appian Employee
over 10 years ago
If possible, I recommend defining the data types via the method I defined (Call Web Service smart service). If this is not an option, you can try importing the content between the <xsd: schema> tags in your WSDL file. I recommend these approaches because I sense that your CDT is not getting populated due to discrepancies between your XML response and your current data types that can easily arise when you manually define the data types.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
evan.rust
Appian Employee
over 10 years ago
If possible, I recommend defining the data types via the method I defined (Call Web Service smart service). If this is not an option, you can try importing the content between the <xsd: schema> tags in your WSDL file. I recommend these approaches because I sense that your CDT is not getting populated due to discrepancies between your XML response and your current data types that can easily arise when you manually define the data types.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data