<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/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>Setting Status from an Action</title><link>https://www.aras.com/community/f/development/5638/setting-status-from-an-action</link><description>Hi all, I am currently trying to setStatus from an action. The status would be set after I right click and select the action from the relationship grid. var statusId = aras.setStatus(&amp;#39;Downloading.....&amp;#39;, &amp;#39;../images/Progress.gif&amp;#39;); return this; 
 
 
 For</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Setting Status from an Action</title><link>https://www.aras.com/community/thread/2464?ContentTypeID=1</link><pubDate>Thu, 24 Jan 2019 21:54:48 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:82745261-4631-4803-9264-9d91a8ea6a94</guid><dc:creator>philn</dc:creator><description>&lt;p&gt;Works great! Thank you for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Setting Status from an Action</title><link>https://www.aras.com/community/thread/2456?ContentTypeID=1</link><pubDate>Wed, 23 Jan 2019 14:37:52 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:8563abd6-b776-4cea-bd3b-eeff078404b4</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I set up an action using your code in a test instance on my machine and stepped through it line by line. It looks like the status is actually being updated, but then some standard Innovator logic is resetting the status after the Action completes. To work around this, you could throw your login into a timeout so that the status is set after some number of milliseconds. I found 100 was good enough for my system, but you may need to play around with the delay based in your own system.&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;setTimeout(function() {&lt;br /&gt; var statusId = aras.setStatus(&amp;#39;Downloading.....&amp;#39;, &amp;#39;../images/Progress.gif&amp;#39;);&lt;br /&gt;}, 100); // &amp;lt;-- May need to increase this time if the status is still not updating&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
&lt;p&gt;Christopher Gillis&lt;/p&gt;
&lt;p&gt;Aras Labs Software Engineer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>