<?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>Invoke a rule event when someone in the group accepts a task</title><link>https://community.appian.com/discussions/f/user-interface/18156/invoke-a-rule-event-when-someone-in-the-group-accepts-a-task</link><description>When someone in the group accepts a task, I want a rule event to be triggered which will be used to update the status in db for that particular request. 
 I tried using &amp;#39;getprocesshistoryinfo&amp;#39; to identify if the status has changed based on &amp;quot;actionTypeName</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Invoke a rule event when someone in the group accepts a task</title><link>https://community.appian.com/thread/71462?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 22:34:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77246b75-773e-4c01-b933-b1d1951657c1</guid><dc:creator>syedi564</dc:creator><description>&lt;p&gt;1) create a web-api with write to data store entity&lt;/p&gt;
&lt;p&gt;2) create a integration with&amp;nbsp;&lt;strong&gt;Usage&amp;nbsp;&lt;/strong&gt;as queries data.&lt;/p&gt;
&lt;p&gt;3) call that integration in a!&lt;strong class="StrongText---richtext_strong"&gt;refreshVariable()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;any other method requires user interaction on UI (eg: expand button, first field). as far as i know , developers dont have any control to trigger an action based on&amp;nbsp; default accept/reject button.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoke a rule event when someone in the group accepts a task</title><link>https://community.appian.com/thread/71450?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 12:59:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6373f29-032a-4970-95d9-8d3579e824c1</guid><dc:creator>harshav</dc:creator><description>&lt;p&gt;Not sure this would help but you can try in this way.&lt;/p&gt;
&lt;p&gt;1. Create a PM which will have a scrip task which calls the query process analytics&lt;/p&gt;
&lt;p&gt;1.Create a Task report which will be having the list of tasks whose status in Assigned.&lt;/p&gt;
&lt;p&gt;2. Post that once the task status is changed you can capture them which are changed in a specific time and update the data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoke a rule event when someone in the group accepts a task</title><link>https://community.appian.com/thread/71440?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 06:17:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e444994-87c2-4fd6-ae34-9a064c263321</guid><dc:creator>Vadivelan</dc:creator><description>&lt;p&gt;How can we call a web-api in local variable?&lt;/p&gt;
&lt;p&gt;Using Integration object we can invoke, is there any other way to achieve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Invoke a rule event when someone in the group accepts a task</title><link>https://community.appian.com/thread/71437?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2020 22:59:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e8866049-4479-46e2-ae35-0a66ed493707</guid><dc:creator>syedi564</dc:creator><description>&lt;p&gt;Instead of using rule event ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) why not store &amp;quot;&lt;span&gt;gettaskacceptedtimestamp&lt;/span&gt;&amp;quot; in localVariable and then store while submitting the task&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) if you think the task will take too much time complete , one more hack we can do is create a web-api which writes to table and call it in a local!variable with&amp;nbsp;property&amp;nbsp;&lt;strong class="StrongText---richtext_strong"&gt;a!refreshVariable(refreshInterval:0.5)&lt;/strong&gt; and condition to check whether its accepted or not.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>