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
1473 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
0
evan.rust
Appian Employee
over 10 years ago
How did you define your pv!getPreAuthorizedTransfers_CDT? Was it automatically generated from the "Call Web Service" node as described in:
forum.appian.com/.../Call_Web_Service_Smart_Service
?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
wkenny
over 10 years ago
It was not. I used an example of the XML string and created the CDTs using .xsd files.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
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
0
wkenny
over 10 years ago
My company uses complex data types in their WSDLs so I don't believe that is an option for me.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel