<?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>Asynchronous API call from interface and follow up API to get the status of the job.</title><link>https://community.appian.com/discussions/f/integrations/40570/asynchronous-api-call-from-interface-and-follow-up-api-to-get-the-status-of-the-job</link><description>Hi 
 
 
 
 I have a requirement where I need to invoke an asynchronous API that returns a jobId in the response. After a certain wait time, I need to call a second API to check the status of the job by passing the jobId received from the first API. This</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Asynchronous API call from interface and follow up API to get the status of the job.</title><link>https://community.appian.com/thread/155204?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2026 12:10:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6e721edc-4d14-4dc0-9783-aa80c9ed8025</guid><dc:creator>khushim2428</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/dharsanad696569"&gt;DDharsana&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="PDq2pG_selectionAnchorContainer" data-start="1707" data-end="1819"&gt;Your approach is technically feasible, but the deciding factor is &lt;strong data-start="1773" data-end="1818"&gt;how long the external job typically takes&lt;/strong&gt;.&lt;span class="PDq2pG_selectionAnchor"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p data-start="1824" data-end="2100"&gt;If the job usually completes within a few seconds, I&amp;#39;d consider polling the status API directly from the interface (using a refresh variable or refresh interval) until the job completes or a timeout is reached. This avoids introducing another process model solely for polling.&lt;/p&gt;
&lt;p data-start="2105" data-end="2441"&gt;If the external job can take longer (tens of seconds or minutes), then using a separate process model is more appropriate. However, I&amp;#39;d be cautious about relying on activity chaining for a long-running asynchronous operation, since activity chaining is intended for short-lived interactions and may not be reliable for extended polling.&lt;/p&gt;
&lt;p data-start="2446" data-end="2656"&gt;Your proposed approach of starting a process and monitoring it via Query Process Analytics can work, but it does add complexity and requires handling retries, maximum wait times, failures, and process timeouts.&lt;/p&gt;
&lt;p data-start="2661" data-end="2789"&gt;Out of curiosity, how long does the external job usually take to complete? That will largely determine the most suitable design.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>