<?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-1570 "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1570 "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface</link><pubDate>Mon, 23 Jul 2018 03:17:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 7/23/2018 3:17:56 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two data types do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly and are mapping to identical data types. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., &lt;code&gt;ri!variableName.fieldName&lt;/code&gt;).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL, application design&lt;/div&gt;
</description></item><item><title>KB-1570 "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface/revision/5</link><pubDate>Mon, 30 Apr 2018 12:15:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Nick Vigilante on 4/30/2018 12:15:58 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two data types do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly and are mapping to identical data types. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., &lt;code&gt;ri!variableName.fieldName&lt;/code&gt;).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface/revision/4</link><pubDate>Mon, 30 Apr 2018 08:14:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Nick Vigilante on 4/30/2018 8:14:31 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two data types do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly and are mapping to identical data types. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., &lt;code&gt;ri!variableName.fieldName&lt;/code&gt;).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface/revision/1</link><pubDate>Fri, 27 Apr 2018 13:18:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 4/27/2018 1:18:41 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two CDTs do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., ri!variableName.fieldName).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface/revision/3</link><pubDate>Fri, 27 Apr 2018 10:21:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Nick Vigilante on 4/27/2018 10:21:57 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two data types do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly and are mapping to identical data types. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., ri!variableName.fieldName).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item><item><title>KB-XXXX "Could not cast from &lt;variable type 1&gt; to &lt;variable type 2&gt;" error thrown when interacting with a SAIL interface</title><link>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface/revision/2</link><pubDate>Fri, 27 Apr 2018 09:21:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa65c6a3-3c02-4e14-94c2-e2b7b2c219c5</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/938/kb-1570-could-not-cast-from-variable-type-1-to-variable-type-2-error-thrown-when-interacting-with-a-sail-interface#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Nick Vigilante on 4/27/2018 9:21:08 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When either interacting with or submitting a SAIL interface, the following error is returned:&lt;/p&gt;
&lt;div class="SplitPaneLayout---pane SplitPaneLayout---secondary_pane SplitPaneLayout---transparent_background"&gt;
&lt;div class="SplitPaneLayout---contents"&gt;
&lt;div class="LiveViewContents---fill_height"&gt;
&lt;div id="appian-live-view-contents" class="LiveViewContents---fill_height"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_wrapper"&gt;
&lt;div class="LiveViewErrorWidget---live_view_error_message LiveViewErrorWidget---live_view_error_message_animate"&gt;
&lt;div class="StandaloneMessageBox---sailcontents"&gt;
&lt;div class="MessageLayout---message MessageLayout---error"&gt;
&lt;div class="RichTextDisplayWidget---inMessageLayout RichTextDisplayWidget---error"&gt;
&lt;pre class="ParagraphText---richtext_paragraph ParagraphText---default_direction ParagraphText---align_start ParagraphText---inMessageLayout ParagraphText---error elements---global_p"&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;br /&gt;&lt;/strong&gt;Interface Definition: Expression evaluation error: An error occurred while executing a save: Could not cast from &amp;lt;variable_type_1&amp;gt; to &amp;lt;variable_type_2&amp;gt;. Details: CastInvalid&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;There is a &lt;code&gt;saveInto&lt;/code&gt; parameter within a component in this SAIL interface or within a sub-rule of this interface that is attempting to cast from one variable type to another, and the fields between the two CDTs do not match.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Check the &lt;code&gt;saveInto&lt;/code&gt; parameters and ensure that variables are writing correctly. If attempting to update only one field of a particular CDT variable, use dot notation in the target to save the singular value (e.g., ri!variableName.fieldName).&lt;/p&gt;
&lt;h2&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: April 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: interfaces, SAIL&lt;/div&gt;
</description></item></channel></rss>