<?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-1137 CDT updates do not modify custom outputs</title><link>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1137 CDT updates do not modify custom outputs</title><link>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs</link><pubDate>Wed, 04 Oct 2023 04:40:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7c2d8f9-f584-406e-9cef-97c57359d660</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs#comments</comments><description>Current Revision posted to Appian Knowledge Base by Maggie Deppe-Walker on 10/4/2023 4:40:38 AM&lt;br /&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After modifying a CDT and updating all of its dependents, process models with smart services that rely on references within expressions to the modified CDT still fail to execute. The reason for this may be that the custom output still indexes a component of the CDT that was modified. The following message is shown in the application server log:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest) 2016-05-10 20:19:45,003 [Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest] ERROR com.appiancorp.process.engine.ExpressionGroup - An error occurred while evaluating expression: quantity:ac!Param1.quantity (Invalid index: Cannot index property &amp;#39;quantity&amp;#39;
 of type Text into type cdt_to_2)
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom output of a node in a process model differs from an input because the custom output of a node is an expression. Node inputs on the other hand are variables whose mappings will get updated when all dependents of the CDT are updated. You would see the same behavior in any rules (e.g. &lt;code&gt;pv!cdt_to_2.quantity&lt;/code&gt;), meaning they would not get removed when dependents are updated.&lt;/p&gt;
&lt;p&gt;This is by design as Appian shouldn&amp;rsquo;t be deleting custom outputs nor removing parts of the definition of rules when CDTs are modified, because that could easily cause other issues.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Modify the custom output of the node to reflect the change in the CDT manually and the process will be able to complete correctly.&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;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&lt;/div&gt;
</description></item><item><title>KB-1137 CDT updates do not modify custom outputs</title><link>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs/revision/1</link><pubDate>Fri, 24 Feb 2017 14:45:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7c2d8f9-f584-406e-9cef-97c57359d660</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 2/24/2017 2:45:09 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After modifying a CDT and updating all of its dependents, process models with smart services that rely on references within expressions to the modified CDT still fail to execute. The reason for this may be that the custom output still indexes a component of the CDT that was modified. The following message is shown in the application server log:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest) 2016-05-10 20:19:45,003 [Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest] ERROR com.appiancorp.process.engine.ExpressionGroup - An error occurred while evaluating expression: quantity:ac!Param1.quantity (Invalid index: Cannot index property &amp;#39;quantity&amp;#39;
 of type Text into type cdt_to_2)
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom output of a node in a process model differs from an input because the custom output of a node is an expression. Node inputs on the other hand are variables whose mappings will get updated when all dependents of the CDT are updated. You would see the same behavior in any rules (e.g. &lt;code&gt;pv!cdt_to_2.quantity&lt;/code&gt;), meaning they would not get removed when dependents are updated.&lt;/p&gt;
&lt;p&gt;This is by design as Appian shouldn&amp;rsquo;t be deleting custom outputs nor removing parts of the definition of rules when CDTs are modified, because that could easily cause other issues.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Modify the custom output of the node to reflect the change in the CDT manually and the process will be able to complete correctly.&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: May 2016&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&lt;/div&gt;
</description></item><item><title>KB-1137 CDT updates do not modify custom outputs</title><link>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs/revision/2</link><pubDate>Fri, 24 Feb 2017 09:47:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f7c2d8f9-f584-406e-9cef-97c57359d660</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/358/kb-1137-cdt-updates-do-not-modify-custom-outputs#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 2/24/2017 9:47:13 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After modifying a CDT and updating all of its dependents, process models with smart services that rely on references within expressions to the modified CDT still fail to execute. The reason for this may be that the custom output still indexes a component of the CDT that was modified. The following message is shown in the application server log:&lt;/p&gt;
&lt;pre&gt;INFO  [stdout] (Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest) 2016-05-10 20:19:45,003 [Appian Work Item - 566 - ProcessExec02 : ExpressionGroupRequest] ERROR com.appiancorp.process.engine.ExpressionGroup - An error occurred while evaluating expression: quantity:ac!Param1.quantity (Invalid index: Cannot index property &amp;#39;quantity&amp;#39;
 of type Text into type cdt_to_2)
&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;A custom output of a node in a process model differs from an input because the custom output of a node is an expression. Node inputs on the other hand are variables whose mappings will get updated when all dependents of the CDT are updated. You would see the same behavior in any rules (e.g. &lt;code&gt;pv!cdt_to_2.quantity&lt;/code&gt;), meaning they would not get removed when dependents are updated.&lt;/p&gt;
&lt;p&gt;This is by design as Appian shouldn&amp;rsquo;t be deleting custom outputs nor removing parts of the definition of rules when CDTs are modified, because that could easily cause other issues.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;Modify the custom output of the node to reflect the change in the CDT manually and the process will be able to complete correctly.&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&lt;/div&gt;
</description></item></channel></rss>