<?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>Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/discussions/f/process/13106/retreive-process-values-from-asynchronous-sub-process</link><description>Their is a sub process that is configured asynchronously which also includes an attended task. So, in what way(s) can we retrieve 
 1) The values of the process variables from the Async sub process to the parent process? 
 2) When the sub process is completed</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59103?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 12:03:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2a1b74e7-2bff-4631-8910-714ba45aa195</guid><dc:creator>gauravs0002</dc:creator><description>Hi Rakesh,&lt;br /&gt;
&lt;br /&gt;
Pass by reference will be a good approach for this situations untill unless u don&amp;#39;t want to use the old PV! Value in the main process.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59092?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 10:32:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:528f1063-e3ad-45e8-bd40-e91e6721e20f</guid><dc:creator>Rakesh Singh</dc:creator><description>Thanks everyone for your valuable suggestions!!&lt;br /&gt;
Regards,&lt;br /&gt;
Rakesh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59080?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 08:50:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9b48c5af-63df-48c5-a4f2-6478d4a2edef</guid><dc:creator>chandu</dc:creator><description>Hi Rakesh as mentioned above &amp;quot;You can pass the variables as reference but remember you should not pass the CDT&amp;#39;s as reference.&amp;quot; &lt;br /&gt;
You can go with this approach and NiteshT already mentioned the good way, Please use that.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59075?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:55:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7195bf57-6e88-4bdb-bf1d-ab7a40506bea</guid><dc:creator>Rakesh Singh</dc:creator><description>Hi Ashwani,&lt;br /&gt;
&lt;br /&gt;
But isn&amp;#39;t it limited to the UI task/web page, what if I have additional steps after submitting the UI task? Also how will we capture when the task is completed.&lt;br /&gt;
&lt;br /&gt;
Thanks, &lt;br /&gt;
Rakesh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59074?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:51:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96eec0d8-e985-4295-8e87-0dc1da46463c</guid><dc:creator>Rakesh Singh</dc:creator><description>The parent process waits in the last node before completion to check that the async. sub process is completed. If I follow the DB approach how to capture the process completion flag?&lt;br /&gt;
Thanks,&lt;br /&gt;
Rakesh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59073?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:24:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2d16f77-f6ed-4b86-bc61-56a1420b6ac1</guid><dc:creator>nitesht9652</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
You can pass a variable say &amp;quot;subProcessStatus&amp;quot; as &amp;quot;pass as reference&amp;quot; in the Async sub process and just before the end event in the subprocess you can put a script task which would update the status of subProcessStatus variable as &amp;quot;complete&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
In the parent process model you can configure rule event which will run only when the subProcessStatus is complete.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Nitesh&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59072?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:21:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a24cc69-2f8d-42b6-99b1-5c35c70e8418</guid><dc:creator>ashwanik</dc:creator><description>Hello Rakesh,&lt;br /&gt;
&lt;br /&gt;
Appian gives you an option to check the same , go to Configure Sub process Tab--&amp;gt;Other there option has been given&lt;br /&gt;
1.Confirmation URL in this field you can give the  Intuitive URLs (such as /page/0) can only be used when submitting tasks within the Application Designer environment.&lt;br /&gt;
2.Keeping a Copy of a Form.&lt;br /&gt;
&lt;br /&gt;
You can refer the below page and do let me know if it helps, we can discuss this more precisely.&lt;br /&gt;
==&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/17.2/Other_Tab.html"&gt;docs.appian.com/.../Other_Tab.html&lt;/a&gt;&lt;br /&gt;
===&lt;br /&gt;
&lt;br /&gt;
-Ashwani&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59071?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:18:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:02b03a6f-7923-48b7-b266-fbde1d35d1fb</guid><dc:creator>chandu</dc:creator><description>Hi Rakesh Singh,&lt;br /&gt;
I have a few doubts in this design approach,&lt;br /&gt;
As you aware that the parent process continues with its flow as soon as the Asynchronous sub process started. &lt;br /&gt;
What happens if the parent process Ends before the sub process ends?&lt;br /&gt;
You can pass the variables as reference but remember you should not pass the CDT&amp;#39;s as reference.&lt;br /&gt;
If your design is insisting to go with Asynchronous sub process you can persist the details in DB and in parent process you can pull &lt;br /&gt;
them from DB. &lt;br /&gt;
&lt;br /&gt;
Why cannot you try with Synchronous sub process?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retreive process values from Asynchronous sub process.</title><link>https://community.appian.com/thread/59070?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 07:04:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ba401fd-b335-4e0e-8046-b714f3bdd36f</guid><dc:creator>Navajith K</dc:creator><description>You can use send message and receive message events.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>