We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

So I'm using the Advanced Document Templating plug-in. One of the things I s

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="&lt;document&gt;&lt;value1&gt;test&lt;/value&gt&lt;/document&gt;

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
  • 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.
Reply
  • 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.
Children
No Data