<?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>It&amp;#39;s possible to get executionId into java robot?</title><link>https://community.appian.com/discussions/f/rpa/19497/it-s-possible-to-get-executionid-into-java-robot</link><description>It&amp;#39;s possible to get executionId into java robot class?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: It's possible to get executionId into java robot?</title><link>https://community.appian.com/thread/76265?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 22:26:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:87ef07e4-dd5c-4040-bc63-0a8394074a6b</guid><dc:creator>Antonio Lamanna</dc:creator><description>&lt;p&gt;Thank you very much! &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: It's possible to get executionId into java robot?</title><link>https://community.appian.com/thread/76264?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 22:22:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:470ba100-4312-4048-a241-ed5f7cb6c0db</guid><dc:creator>jesusp0002</dc:creator><description>&lt;p&gt;Hi Antonio,&lt;/p&gt;
&lt;p&gt;This is one way to get the current executionId:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	List&amp;lt;IRobotExecutionDetail&amp;gt; lstRexec =  server.getExecution(0).robotExecutions();
		
		if (lstRexec !=null &amp;amp;&amp;amp; lstRexec.size()&amp;gt;0 ) {
			for (IRobotExecutionDetail rr: lstRexec ) {
		       server.info(rr.getExecutionId());
		     }
		}else {
			server.warn(&amp;quot;ID is not available&amp;quot;);
		}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>