<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1139 "Could not serialize Process Model into DOM tree" error thrown when trying to export a process model</title><link>https://community.appian.com/support/w/kb/360/kb-1139-could-not-serialize-process-model-into-dom-tree-error-thrown-when-trying-to-export-a-process-model</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1139 "Could not serialize Process Model into DOM tree" error thrown when trying to export a process model</title><link>https://community.appian.com/support/w/kb/360/kb-1139-could-not-serialize-process-model-into-dom-tree-error-thrown-when-trying-to-export-a-process-model</link><pubDate>Fri, 24 Feb 2017 14:52:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:395cc83f-a9e8-4365-9513-e0bef23b7cbd</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/360/kb-1139-could-not-serialize-process-model-into-dom-tree-error-thrown-when-trying-to-export-a-process-model#comments</comments><description>Current Revision posted to Appian Knowledge Base by Nick Vigilante on 2/24/2017 2:52:36 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;Exporting of a process model fails with the following error:&lt;/p&gt;
&lt;pre&gt;The data for processModel [id=someID uuid=someUUID] could not be saved to XML. Cause: java.lang.IllegalStateException: Could not serialize Process Model into DOM tree (APNX-1-4071-004)
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;There could be multiple causes for this, however, the most common cause is a node input pointing to an older version of a CDT. Review the application server log to see the &amp;quot;caused by:&amp;quot; clause in the exception stack. That clause usually looks like this&lt;/p&gt;
&lt;pre&gt;Caused by: com.appiancorp.type.xmlconversion.exceptions.ToXmlConversionException: Cannot convert internal value to XML (target element qname: acp). Internal value: TypedValue[it=11,v=ActivityClassParameter[name=RecordData,it=1880,v=]]
&lt;/pre&gt;
&lt;p&gt;In the above example, it&amp;rsquo;s being caused by a node which has an input named RecordData.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Use the process model documentation in conjunction with the application server log to help determine which node is the problem. After determining which node is at fault (pointing to an old version of a CDT), correct that node to point to the right version of the CDT. This should allow you to export the process model successfully.&lt;/p&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;February 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, process models, application design, import/export&lt;/div&gt;
</description></item></channel></rss>