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
2 replies
Subscribers
5 subscribers
Views
2626 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
So I'm using the Advanced Document Templating plug-in. One of the things I s
robbier
over 9 years ago
So I'm using the Advanced Document Templating plug-in. One of the things I seem to keep coming across is, when I create a string like:
"<document><value1>test</value1></document>"
I then place this string into a process variable and then feed this variable into the XML Data Model input. On the Word template side I have created a merge field in the word doc--just like the instructions explain.
OK, so I run this thing and I get back is an error. The error is:
{"error":"APNX-1-0000-000","message":"Invalid Content ID","title":"An Error Has Occurred"}
I looked into the process variables and have observed that the xml variable containing the string I created displays as:
a title="<document><value1>test</value></document>
So this looks like some conversion is going on.
Anyone run into this?
OriginalPostID-197232
OriginalPostID-197232
Discussion posts and replies are publicly visible
Parents
0
Mihai Roman
over 9 years ago
The bulk of the expression looks like tohtml() was applied to it, however the beginning suggests that Appian might be trying to generate a link out of it. We use the ADT plug-in extensively and have not encountered this error. We generate our XML in a SAIL expression and simply pass it through pv!s until it reaches the ADT smart service.
I noticed you mentioned that you entered this string directly in the Process Modeler, if I understood you correctly. Maybe there is an edge case involving the Process Modeler and valid XML strings. Try to generate your XML in an Expression Rule and see if that fixes your problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mihai Roman
over 9 years ago
The bulk of the expression looks like tohtml() was applied to it, however the beginning suggests that Appian might be trying to generate a link out of it. We use the ADT plug-in extensively and have not encountered this error. We generate our XML in a SAIL expression and simply pass it through pv!s until it reaches the ADT smart service.
I noticed you mentioned that you entered this string directly in the Process Modeler, if I understood you correctly. Maybe there is an edge case involving the Process Modeler and valid XML strings. Try to generate your XML in an Expression Rule and see if that fixes your problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data