<?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>Calling an active process using API</title><link>https://community.appian.com/discussions/f/process/24816/calling-an-active-process-using-api</link><description>Hi Team, 
 
 There is a chat bot where we receive an approve action from approvers. 
 How to receive that approve action in an active process to run particular approval instance.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calling an active process using API</title><link>https://community.appian.com/thread/96005?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 13:02:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39898684-179d-4647-9388-8a86529198ae</guid><dc:creator>Manikanta Sai</dc:creator><description>&lt;p&gt;Thanks for your time. We figured it out&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an active process using API</title><link>https://community.appian.com/thread/96002?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 12:16:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b863ab5-7fd3-46a5-844f-52d3c4b7000c</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;The documentation is pretty straightforward. I&amp;#39;m not sure what it is you don&amp;#39;t understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an active process using API</title><link>https://community.appian.com/thread/96000?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 11:39:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f3738989-7681-46dd-87f4-f73c7bde35a6</guid><dc:creator>Manikanta Sai</dc:creator><description>&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Can you please help me out in this, What we need to configure in the receive message event and In which format do we receive the message for External-to-Process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an active process using API</title><link>https://community.appian.com/thread/95997?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 10:01:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7fd0a9ba-456d-42c6-9c7b-5585b68ff8d7</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;There are a couple of options here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;in your active process instance you could implement a time-based &amp;quot;wait/check/wait&amp;quot; loop that fetches a flag from the database that your chat bot process writes to. If the flag indicates no action received then you wait, else you flow to the approval step.&lt;/li&gt;
&lt;li&gt;in your active process instance you can implement a &amp;quot;listener&amp;quot; that is waiting for a process-to-process or external-to-process message&amp;nbsp; -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.2/Receive_Message_Event.html"&gt;https://docs.appian.com/suite/help/22.2/Receive_Message_Event.html&lt;/a&gt;&amp;nbsp;- and use that to control the flow of your active process&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In either option consider how you&amp;#39;ll handle the scenario when a message never arrives - don&amp;#39;t assume that one will and make provision to handle this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling an active process using API</title><link>https://community.appian.com/thread/95996?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 09:44:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ebc0ddd3-179c-4c5e-9962-dfd241930882</guid><dc:creator>Gabriele Camilli</dc:creator><description>&lt;p&gt;Can you explain the use case a little more?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>