<?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 variable from java code to process?</title><link>https://community.appian.com/discussions/f/rpa/19077/how-to-pass-variable-from-java-code-to-process</link><description>How to pass variable (or list) from java code to process? I have to pass a list of emails retrieved with Outlook module. I need a list of email because I need to pass thi list to Appian process. 
 Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/75459?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 06:56:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:48fee998-df07-42ce-abbe-2996b42638a0</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Hi, you need of Appian&amp;nbsp;&lt;span&gt;version 20.2. Check this&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/75457?ContentTypeID=1</link><pubDate>Mon, 20 Jul 2020 06:26:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:497aacdc-1d23-46eb-a77f-76991976b20c</guid><dc:creator>Irene Monge</dc:creator><description>&lt;p&gt;Hi Vadivelan,&lt;/p&gt;
&lt;p&gt;To use IWebApiRequest, you need to import the class com.novayre.jidoka.client.api.appian.webapi.IWebApiResponse which is found in the version &lt;strong&gt;7.1.0&lt;/strong&gt; of the jidoka-robot-parent library.&lt;/p&gt;
&lt;p&gt;&amp;lt;parent&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;groupId&amp;gt;com.novayre.jidoka.robot&amp;lt;/groupId&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;lt;artifactId&amp;gt;jidoka-robot-parent&amp;lt;/artifactId&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;strong&gt;&amp;lt;version&amp;gt;7.1.0&amp;lt;/version&amp;gt;&lt;/strong&gt; &lt;br /&gt;&amp;lt;/parent&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/75451?ContentTypeID=1</link><pubDate>Sun, 19 Jul 2020 08:07:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f60b8dd-73cc-4600-a58c-440110ab5239</guid><dc:creator>Vadivelan</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/antoniol0001"&gt;Antonio Lamanna&lt;/a&gt;&lt;br /&gt;I&amp;#39;m facing the same issue,&amp;nbsp;IWebApiRequest cannot be resolved to a type.&lt;br /&gt;Can you please let me know how to resolve this?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74945?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 15:54:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81d79a2b-86c9-4be0-b59d-84dcf89a1fe0</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m tryng to follow the guide but in the IDE the Interface IWebApiRequest is not recognized!&lt;/p&gt;
&lt;p&gt;&lt;img height="159" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/61/pastedimage1592927678750v1.png" width="661" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74828?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 14:05:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07aa5257-3299-4f2a-8c8c-d773750a5798</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Ok I found the way:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;private void setLowCodeVariables(String json){
	
	Map&amp;lt;String, IRobotVariable&amp;gt; workflowVariables = server.getWorkflowVariables();
	workflowVariables.get(&amp;quot;json&amp;quot;).setValue(json);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74815?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 08:42:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c13072c6-a72a-4c56-b10f-aecb0d8d0cc6</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Hi, thank you. How can I send data from java to process. I know how send data to server but in log ( server.inf(&amp;quot;string to pass to server&amp;quot;);) but I need to pass a string value to robotic process variable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74814?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 08:40:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21104c89-eccf-42eb-86c7-33004633b8b6</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Hi, I don&amp;#39;t understand how import IWebApiRequest, IntelliJ not recognize it and in documentation this case is not covered.&lt;/p&gt;
&lt;p&gt;&lt;img height="212" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/61/pastedimage1592469663383v1.png" width="474" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74800?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 19:10:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fc00e3d-2d01-43c0-a2a5-47bc3b59df30</guid><dc:creator>ManuelHTG</dc:creator><description>&lt;p&gt;Yes you can. Depending of the use case, you could well as well send that data to the webapi and start a process with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74798?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 19:00:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9601c7fc-a305-41fc-9f36-2c2c419d43a8</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Thanks, I wanted to understand if the process variables can also be filled with result data from java as well as used to pass data to java code. I need to trace a string.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to pass variable from java code to process?</title><link>https://community.appian.com/thread/74785?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 15:16:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2fa31c2-bdd8-4776-8d19-c664801e5532</guid><dc:creator>Danny Verb</dc:creator><description>&lt;p&gt;We recommend using Appian Web-APIs to send data back to Appian. You can view our design documentation for more information&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.2/rpa/rpa_in_apps/sync-pattern.html#design-structure"&gt;https://docs.appian.com/suite/help/20.2/rpa/rpa_in_apps/sync-pattern.html#design-structure&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>