<?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>Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/discussions/f/new-to-appian/24745/activity-class-parameter---usage-of-index-vs-dot</link><description>Hi, I am trying to save the values of an activity class parameter in a variable inside a node. 
 In the expression of custom output AC!Variables.restaurant works and passes values correctly to the target process variable. However when I try the same with</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95726?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 08:22:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:691ea332-e369-4695-916b-00797ceb4972</guid><dc:creator>Jaideep Banerjee</dc:creator><description>&lt;p&gt;hi Naresh, i am new to Appian so really don&amp;#39;t know what might be happening but I have just responded to Stewart with more details and another scenario how I made index() stuff work by storing the ac!Variables into another pv botVariables. pls have a look&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;
&lt;p&gt;jaideep&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95725?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 08:19:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d8769b10-0ec5-4732-b402-80f38f5af69c</guid><dc:creator>Jaideep Banerjee</dc:creator><description>&lt;p&gt;good idea..thanks Harshit..I will try&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95724?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 08:19:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:65df7677-3a22-4d29-b453-ea660ebf94d2</guid><dc:creator>Jaideep Banerjee</dc:creator><description>&lt;p&gt;Hi Stewart,&lt;/p&gt;
&lt;p&gt;CDT is&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/Screenshot-2022_2D00_05_2D00_31-at-1.32.26-PM.png" alt=" " /&gt;&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/Screenshot-2022_2D00_05_2D00_31-at-1.32.58-PM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Some more experiments I did..&lt;/p&gt;
&lt;p&gt;I saved the AC!Variables into another pv botVariables of type &amp;#39;Map&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/Screenshot-2022_2D00_05_2D00_31-at-1.47.19-PM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Now in another node in a script task I am doing this - Index on botVariables and this works perfectly fine&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1653984779659v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;this time restaurantList is populated with values ..&lt;/p&gt;
&lt;p&gt;Now I have 2 questions&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) why index() on&amp;nbsp;&lt;span&gt;botVariables works when I am storing&amp;nbsp;&lt;/span&gt;ac!Variables&amp;nbsp;into botVariables but why index() directly on&amp;nbsp;&lt;span&gt;ac!Variables not working.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2) why &amp;#39;dot&amp;#39; works and not index() on&amp;nbsp;ac!Variables&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I sincerely hope i can&amp;nbsp;go on a video call with you ..anyway let me know if you see any issue here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Again, I have a work around so this is not blocking.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;jaideep&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: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95716?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 05:49:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:43faacbf-1bab-4f7b-b8bd-8edae08c0524</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Tro to re-create the same scenario in an expression rule with the same rule inputs.&amp;nbsp;&lt;br /&gt;You can try to&amp;nbsp;implement various suggestions like using property() or flatten() the value. Also, you will be able to check the execution of the expression.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95708?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 17:18:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7e051f91-053a-4243-9f33-fd1876838bf1</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;The difference here when you use dot notation&amp;nbsp;if your process variable is not an array type I think it is taking the value and casting appropriate type. When you use the index it returns list of values, because of this it may ignoring the values (It shouldn&amp;#39;t ignore return value, if that is happening it is an issue with Appian). Also as Stewart mentioned what is your process variable type.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95698?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 12:41:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eb8de9aa-8a27-4e5c-9140-2521583fdbc9</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;What data type is your target &amp;#39;restaurantList&amp;#39; ? Are you able to share the datatype?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95696?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 12:10:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b57ceedd-cd33-4758-8ede-49bea6fc564f</guid><dc:creator>Jaideep Banerjee</dc:creator><description>&lt;p&gt;no I haven&amp;#39;t, I will give it a try. Thx Gopal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95695?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 12:08:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d33924f5-4aa9-4834-bad9-47a051b6b4e1</guid><dc:creator>Jaideep Banerjee</dc:creator><description>&lt;p&gt;sorry..&lt;/p&gt;
&lt;p&gt;After I run the BOT, AC!Variables has this&lt;/p&gt;
&lt;p&gt;{restaurant=[restaurantID=1, restaurantName=True Food Kitchen, restaurantStatus=Status: Permitted, inspectionDate=6/19/2396], &lt;a href="https://inspections.myhealthdepartment.com/va-arlington"&gt;healthDepartmentWebsite=https://inspections.myhealthdepartment.com/va-arlington}&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If this helps - This is from the RPA tutorial.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;jaideep&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: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95693?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 10:57:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aa61d5ca-dc70-49d7-824f-231c417932fe</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;It&amp;#39;s hard to tell from what you&amp;#39;ve provided what structure you&amp;#39;re expecting to be returned in ac!Variables. Without insight&amp;nbsp;into this we cannot advise as to how to address the &amp;#39;restaurant&amp;#39; attribute in the structure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Activity Class Parameter - Usage of Index vs dot</title><link>https://community.appian.com/thread/95692?ContentTypeID=1</link><pubDate>Mon, 30 May 2022 10:52:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:365f691e-b00a-4f19-8511-e7381f16c316</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi Jai, Have you tried property() function ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>