<?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>Sub-Process VS send/receive message event</title><link>https://community.appian.com/discussions/f/best-practices/21274/sub-process-vs-send-receive-message-event</link><description>A sub-process need to inform parent with details(CDT) , the parent process can call the child-process in asynchronous manner since parent process as some parallel activities. For this i have few approach : 
 
 Parent will split the instances into two</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Sub-Process VS send/receive message event</title><link>https://community.appian.com/thread/82943?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 15:59:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:59f1d6a2-10ac-481a-a1db-6882fcd4b747</guid><dc:creator>aravind.s</dc:creator><description>&lt;p&gt;thanks for your response Mike....&lt;/p&gt;
&lt;p&gt;The sub-process which we are referring can last upto 100hours(worst case ),which will do polling&amp;nbsp;to external system(integration) for every 45 mins.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Would&amp;nbsp;you think this process-intensive?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sub-Process VS send/receive message event</title><link>https://community.appian.com/thread/82941?ContentTypeID=1</link><pubDate>Thu, 24 Jun 2021 15:15:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:418dc990-df6b-4f67-bb3d-bcac1cbc11ee</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Generally I&amp;#39;d rather implement something closer to your first approach (split process flow with AND node, call subprocess synchronously, get data from it when done), because while the Send Message approach can work, it can be a nightmare in terms of management, debugging and upkeep.&amp;nbsp; I don&amp;#39;t expect either approach would be all that different in terms of performance unless the subprocess is doing something unusually process-intensive.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>