<?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>transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/discussions/f/user-interface/17174/transferring-selected-items-in-an-interface-to-a-rule-input-where-it-can-be-transferred-to-a-process-model</link><description>ok, so I&amp;#39;ve got an interface which is a process start form for my process model. 
 In my interface I&amp;#39;ve got a gridfield in which I display a list of cases, and this gridfield is configured to allow me to select the ones that I want to assign to someone</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67763?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 05:35:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a0fbdb38-d68c-41ec-b1a8-f49b0c17e960</guid><dc:creator>ekanshj</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/davidb545"&gt;davidb545&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The below code will save the ids of selected rows from local to ri variable:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!save(
target: ri!RICasesToTransfer,
value: local!dataGridSelection.selected
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67762?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 04:19:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e1234299-a130-4885-9326-9f0742e1f808</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Hi Stewart,&lt;/p&gt;
&lt;p&gt;We&amp;#39;re using 19.1 at this time.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As to the reason for the need - that&amp;#39;s not something I want to discuss on a public forum, but it is a business requirement to be able to transfer selected cases to specific people.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67740?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 09:45:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:72963cae-13af-4009-b977-7e63316e5d71</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Hi David&lt;/p&gt;
&lt;p&gt;A few questions to get us going:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;what version of Appian are you working with? (I ask because 19.2&amp;#39;s gridField is quite different from its predecessor)&lt;/li&gt;
&lt;li&gt;More interestingly, why the need for this pattern? That is, can you not let individuals select their own cases? Or have the system assign the cases? Is assigning cases really the best use of the time for the individual who is having to do this?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;S&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67739?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 09:04:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f1efa22-8e75-4bb7-ab05-aaedff732133</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;So, I&amp;#39;ve dropped this component onto my form [after the buttonArrayLayout]...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; label: &amp;quot;Paging Grid&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;br /&gt; totalCount: 0,&lt;br /&gt; columns: {&lt;br /&gt; a!gridTextColumn(&lt;br /&gt; label: &amp;quot;Text Column&amp;quot;,&lt;br /&gt; data: {}&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; value: a!pagingInfo(startIndex: 1, batchSize: 5),&lt;br /&gt; saveInto: {},&lt;br /&gt; validations: {},&lt;br /&gt; shadeAlternateRows: true&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;I have no idea how to [now] assign it with the data in&amp;nbsp;&lt;span&gt;local!dataGridSelection (or ri!RICasesToTransfer) in such a way that it displays on screen [especially after I've clicked the button].... any&amp;nbsp; thoughts?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;David.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67738?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 08:49:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b8c7dc48-0cc0-4899-ab96-f405ce2b35f3</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;You can always assign the value of&amp;nbsp;&lt;span&gt;local!dataGridSelection to something&amp;nbsp;you can see on the screen (e.g. the &amp;#39;instructions&amp;#39; parameter of the a!gridLayout()) as a temporary&amp;nbsp;way of debugging such&amp;nbsp;&amp;quot;hidden&amp;quot; values...I do this&amp;nbsp;all the time as part of an incremental development approach...just remember to remove it before you are done working on the component.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: transferring selected items in an interface to a rule input where it can be transferred to a process model</title><link>https://community.appian.com/thread/67737?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2019 08:44:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1379a3be-a530-4a04-a1aa-996f982f6ec5</guid><dc:creator>davidb545</dc:creator><description>&lt;p&gt;Update: I&amp;#39;ve updated my a!save() method thus:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;a!save(&lt;br /&gt; target: ri!RICasesToTransfer,&lt;br /&gt; value: a!gridSelection(local!dataGridSelection)&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However [while this compiles] I&amp;#39;m still not convinced that it&amp;#39;s storing the selected items...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>