<?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>How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/discussions/f/rpa/18800/how-to-pass-the-parameter-dynamically-while-starting-appian-processes-from-rpa-console</link><description>Good Day Experts, 
 Can any one please explain how to pass the robotic process variables dynamically when we are invoking start Appian method? 
 
 I&amp;#39;m able to pass the initial value but i would like to pass that dynamically. Please let me know if you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/75553?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 10:28:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a5c01937-3cbc-4e32-bf6a-a91dd2c28bc8</guid><dc:creator>kalaivanank0002</dc:creator><description>&lt;p&gt;Hi Antonio,&lt;/p&gt;
&lt;p&gt;sorry for late reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Create the instruction as per Appian documentation (&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.appian.com/suite/help/20.1/rpa/develop/configuring-a-robotic-process.html#instructions"&gt;https://docs.appian.com/suite/help/20.1/rpa/develop/configuring-a-robotic-process.html#instructions&lt;/a&gt;&lt;span&gt;&amp;nbsp;).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For example, if your instruction name is &amp;quot;instructionField&amp;quot;, and your variable name is &amp;quot;variableField&amp;quot; , then the code would be,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Map &amp;lt;String, IRobotVariable&amp;gt; workflowVariables = server.getWorkflowVariables();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;workflowVariables.get(&amp;quot;variableField&amp;quot;).setValue(server.getParameter().get(&amp;quot;instructionField&amp;quot;));&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Cheers,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kalai.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/74782?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 14:33:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60d39d37-ba33-4e45-a21b-6e8a4f752746</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Hello, thank you for yoir post. Can you post here the code of this example? I&amp;#39;m trying to retrieve a email list from outlook..&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/74126?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 10:53:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77b22bd8-237d-433d-b25d-28c53cbecb84</guid><dc:creator>kalaivanank0002</dc:creator><description>&lt;p&gt;Thank you so much Sam,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Its working.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kalai&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/74124?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 10:15:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae9d7452-3583-43d0-b81e-f488ac17f048</guid><dc:creator>kalaivanank0002</dc:creator><description>&lt;p&gt;Thank you so much Sam,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try this &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Kalai.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/74104?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 23:52:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08a7d1e6-1a34-402f-b276-c470cf132a48</guid><dc:creator>sam.merrill</dc:creator><description>&lt;p&gt;You can create&amp;nbsp;Robotic Process&amp;nbsp;Variables. You can create them in the Robotic Process Configuration page, and then dynamically set them during your process execution. Checkout the &lt;a href="/b/appmarket/posts/outlook---get-emails-and-attachments-utility"&gt;MS Outlook&lt;/a&gt; or &lt;a href="/b/appmarket/posts/browser-scraper---appian-news"&gt;Browser Scraper&lt;/a&gt; Robotic Processes on the App Market.&amp;nbsp;These processes make use of&amp;nbsp;Dynamic Robotic Process&amp;nbsp;Variables.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please reference the pictures below of the Robotic Process Configuration Page:&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/Screen-Shot-2020_2D00_05_2D00_14-at-7.47.27-PM.png" /&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/Screen-Shot-2020_2D00_05_2D00_14-at-7.47.33-PM.png" /&gt;&lt;img alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/61/Screen-Shot-2020_2D00_05_2D00_14-at-7.47.39-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;Please see&amp;nbsp;the&amp;nbsp;Java code example:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;private void &lt;/span&gt;&lt;span&gt;setLowCodeVariables&lt;/span&gt;(List&amp;lt;String&amp;gt; documentIds){&lt;br /&gt; Map&amp;lt;String&lt;span&gt;,&lt;/span&gt;IRobotVariable&amp;gt; &lt;span&gt;workflowVariables &lt;/span&gt;= &lt;span&gt;server&lt;/span&gt;.getWorkflowVariables()&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// string array&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;workflowVariables&lt;/span&gt;.get(&lt;span&gt;&amp;quot;documentIds&amp;quot;&lt;/span&gt;).setValue(documentIds.toArray())&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// strings&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;workflowVariables&lt;/span&gt;.get(&lt;span&gt;&amp;quot;emailBody&amp;quot;&lt;/span&gt;).setValue(&lt;span&gt;currentItem&lt;/span&gt;.getBody())&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;workflowVariables&lt;/span&gt;.get(&lt;span&gt;&amp;quot;fromEmail&amp;quot;&lt;/span&gt;).setValue(&lt;span&gt;currentItem&lt;/span&gt;.getSenderEmailAddress())&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;workflowVariables&lt;/span&gt;.get(&lt;span&gt;&amp;quot;fromName&amp;quot;&lt;/span&gt;).setValue(&lt;span&gt;currentItem&lt;/span&gt;.getSenderName())&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;workflowVariables&lt;/span&gt;.get(&lt;span&gt;&amp;quot;subject&amp;quot;&lt;/span&gt;).setValue(&lt;span&gt;currentItem&lt;/span&gt;.getSubject())&lt;span&gt;;&lt;br /&gt;&lt;/span&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/73975?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 05:46:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1ac3296b-85d4-400b-87cd-994fb0ad5a2e</guid><dc:creator>kalaivanank0002</dc:creator><description>&lt;p&gt;Good Day Danny,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I got the instruction value by&amp;nbsp;&lt;em&gt;server.getParameters().get(&amp;quot;parameter_name&amp;quot;) and can you please help me how to pass this value to parameter?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Thanks in advance.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Cheers,&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Kalai&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass the parameter dynamically while starting Appian Processes from RPA console ?</title><link>https://community.appian.com/thread/73924?ContentTypeID=1</link><pubDate>Fri, 08 May 2020 14:40:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff76627e-9b3f-4731-a2c5-67ecf13d8015</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;At this time robotic process variables cannot be sent as parameters. To use dynamic values, you should create Instructions on your robotic process. In your process, you can then reference instructions and even map them to robotic process variables.&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.1/rpa/develop/configuring-a-robotic-process.html#instructions"&gt;https://docs.appian.com/suite/help/20.1/rpa/develop/configuring-a-robotic-process.html#instructions&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>