<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Process Model</title><link>https://community.appian.com/discussions/f/new-to-appian/23724/process-model</link><description>Hi, 
 I am new to Appian and trying to work on an Asset Management Application. 
 I am getting these two errors while running my Request Asset Process Model. 
 1) Invalid Cast: Cannot cast from type &amp;#39;AT_Request&amp;#39; to type &amp;#39;Boolean&amp;#39; (Data Inputs). Where</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91212?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 05:14:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:247e4d7e-5135-40cf-abe2-94dfeccd6c7c</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;great!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91211?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 05:13:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:caa8abc0-c82d-48ee-87d6-6f507730a70e</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;I fixed them as per advice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91210?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 03:36:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8336b23c-4e33-42d4-95dd-9c951f4f3acf</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;No , I wanted to check whether whether &amp;quot;image&amp;quot; field has any value or not. Looks like it&amp;#39;s getting null.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91185?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 16:28:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e66a361f-7ba5-4a5b-8e95-285de3a52fca</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is this the one you are asking?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/8686.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91178?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 15:20:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6838e4be-72a7-4828-ae18-1e6d3a7dd6b7</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi , can you please post snap of &amp;nbsp;pv!data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91177?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 15:05:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdf09b90-5fb2-4801-a43c-61e9b4245e46</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;I tried but getting the same error message.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong class="StrongText---richtext_strong StrongText---inMessageLayout StrongText---error"&gt;Could not display interface. Please check definition and inputs.&lt;/strong&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Interface Definition: Expression evaluation error at function a!imageField [line 126]: The image at index 1 in an image gallery component [label=""] has an invalid value for &amp;quot;document&amp;quot;. &amp;quot;document&amp;quot; must not be null.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91173?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 14:19:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c80f68e2-13c8-46fb-bfa0-85c0ec5ea852</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;Thanks. Will try it. My image field in CDT is document.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91134?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 04:29:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a015708f-e9ef-4d70-95d0-3acb47cabdde</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;in the interface you are having document from record type but from process you are passing as CDT. you need to re configure your image field , something like this,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!imageField(
label: &amp;quot;Image&amp;quot;,
labelPosition: &amp;quot;ABOVE&amp;quot;,
images: {
a!documentImage(
  document: ri!docId
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;you can replace &amp;quot;ri!docId&amp;quot; with your ri!assetInput.image and i am assuming &amp;quot;image&amp;quot; field in your cdt is having document id&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91133?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 04:24:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a2f2583-5375-4228-af49-aeb7a6b29800</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I checked. Rest of the variables are having the value as the parent. But only Image doesn&amp;#39;t have the value.&lt;/p&gt;
&lt;p&gt;I used pv!assetinput.image as the value but no luck. That&amp;#39;s the case with all my process models. Having problem with Image field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What can be done?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1644985205895v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1644985284388v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91132?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 04:15:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dfb5d836-fd8a-4153-8ffc-371ca6c9d9cb</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;In process model , are you passing record type into rule input?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91131?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 03:25:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b2bb6e07-087f-445f-8430-3ed484337b74</guid><dc:creator>Sandhya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I fixed the first problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The second one I fixed in the interface but having the problem when running the process model.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;!formLayout(&lt;br /&gt; label: &amp;quot;REQUEST ASSET APPROVAL FORM&amp;quot;,&lt;br /&gt; contents: {&lt;br /&gt; a!sectionLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!columnsLayout(&lt;br /&gt; columns: {&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;REQUESTED ASSET DETAILS&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; saveInto: {},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; readOnly: true,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!columnLayout(&lt;br /&gt; contents: {}&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; a!imageField(&lt;br /&gt; label: &amp;quot;Image&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; images: {&lt;br /&gt; a!documentImage(&lt;br /&gt; ri!assetinput[&amp;#39;recordType![AT Asset Management.fields.image]&lt;br /&gt; )&lt;br /&gt; &lt;br /&gt; },&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; size: &amp;quot;MEDIUM&amp;quot;,&lt;br /&gt; isThumbnail: false,&lt;br /&gt; style: &amp;quot;STANDARD&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1644981929448v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Process Model</title><link>https://community.appian.com/thread/91130?ContentTypeID=1</link><pubDate>Wed, 16 Feb 2022 02:50:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2adcf4ed-c22f-410e-8817-7db5e637d3c8</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For issue 1, looks like casting problem, means you are passing a value of type CDT into Boolean.&lt;/p&gt;
&lt;p&gt;For issue 2 , you need to make sure ,you are not providing null values as document &lt;/p&gt;
&lt;p&gt;Can you show the code of image configuration?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>