<?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>Item action permissions based on item state</title><link>https://www.aras.com/community/f/development/36290/item-action-permissions-based-on-item-state</link><description>Hello, Is there a way to restrict permissions on an item Action based on the Item state. Gray out the action if the Item state is &amp;#39;Preliminary&amp;#39;. Enable the Action if the state is &amp;#39;Released&amp;#39;.</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Item action permissions based on item state</title><link>https://www.aras.com/community/thread/6328?ContentTypeID=1</link><pubDate>Sat, 30 Jan 2021 02:05:04 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9aa7b0c1-6850-4a80-9a74-fa40472002d8</guid><dc:creator>SunilReddy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is possible to do it, While creating an action, we have a field&amp;nbsp;Can Execute, there we can add a javascript method,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Fetch the state of an Item&lt;/p&gt;
&lt;p&gt;if(state==&amp;quot;Released&amp;quot; ) return true&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt;return false&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>