<?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>Call subprocess with pmid (sync)</title><link>https://community.appian.com/discussions/f/process/34037/call-subprocess-with-pmid-sync</link><description>Is there a way (or will be) to run a subprocess synchronously, containing a user task , passing pmid as a parameter? 
 
 We would like to be able to execute a subprocess call in that way, passing the pmid as a parameter to control the flow of the process</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129576?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 09:55:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:770d40d6-8417-448c-a293-121c15f85687</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Perfect!!! see you there...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129574?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 09:54:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40c81ab0-b8a1-45f6-a732-b991f333a55a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I would be interested in discussing that in more detail. Contact me at &lt;a id="" href="mailto:stefan@appian.rocks"&gt;stefan@appian.rocks&lt;/a&gt;&amp;nbsp;if you feel like it too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129572?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 09:47:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08d17f95-4f42-43e8-a342-31aece984243</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;I meant that is more powefull and&amp;nbsp;flexible when designing processes.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;About the case, I explained it in a previous post in this discussion.... It&amp;#39;s related with being able to control de flow execution of the process in a dynamic way, being able to maintain user experience, and with a really huge number of processes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129445?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 20:05:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99918241-330f-4b2a-b97a-43350e690064</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Not sure what you mean, Appian is stable for many years, but it is built with a specific purpose in mind. And building overly dynamic stuff and creating levels of abstractions on top of it is not in focus.&lt;/p&gt;
&lt;p&gt;Can you share your use case in more detail?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129444?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:45:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0410a1e3-f446-4f69-9416-65d9875ca719</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;I agree with you,,.. but I think that with the actual smart services would be possible&amp;nbsp;if that smart services acept the pmid as a parameter... (having in mind that in the last years Appian evolved a lot and now is quite stable),&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129443?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:41:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ea64bf2-fe92-48f5-ae1b-ae06817a1194</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I wanted to implement something similar some years ago trying a similar approach and this di not end&amp;nbsp;exactly well.&lt;/p&gt;
&lt;p&gt;In my experience, Appian is not really made for such highly dynamic behaviour.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129442?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:41:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2917ec8-e79b-4ec8-8305-01df1837850a</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;The question is that it&amp;#39;s the same behaviour we can actually implement with the smart services in appian, but passing the pmid as a parameter instead of selecting it when configuring the smart service.&lt;/p&gt;
&lt;p&gt;For example, when you need to keep the chaining during all the process..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129441?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:23:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b27347ec-c1da-47d7-a3ad-23b76fe27ef7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="97441" url="~/discussions/f/process/34037/call-subprocess-with-pmid-sync/129440"]we need the subprocess call to be sync&amp;nbsp;[/quote]
&lt;p&gt;Why, exactly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129440?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:22:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6630da83-9fda-4924-8435-c33d534afb3e</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;I know , and that is the problem.. that under some circunstances we need the subprocess call to be sync&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129439?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:20:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:359592ab-e196-4150-a083-ccd5a70995fb</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You can do that with the &lt;em&gt;Start Process&lt;/em&gt; node, it just won&amp;#39;t be &lt;span style="text-decoration:underline;"&gt;synchronous&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129438?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:19:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57a381fa-5393-4f54-ad92-ac852c6093ec</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Thx a lot Mike.&lt;/p&gt;
&lt;p&gt;IN this case , imagine that you have a lot of subprocesses , and each request you have to process has to go to different subprocess, even depending of the results from previous subprocess executed in the same request and process instance (and can contain user interfaces)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s like you need to have a dynamic programing of the request you are processing, and that makes almost impossible to implement all the different flows that can be executed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you can control via aBRMS or a decision table which one will be the next subprocess to execute, having in mind the actual context, and you have the pmid, the problem would be solved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129437?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:14:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:24a3c110-1611-44a5-9405-94a3453142ae</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Finally, I&amp;#39;d recommend you tell us a bit more detail about your real-world use case, because I often find that there are other workable workarounds that fit the requirements even if they&amp;#39;re a slight departure from the imagined design people were initially stuck on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129436?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:13:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:00e50680-fc18-44b4-823b-488224b6363f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The future is one of the hardest things to predict &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f61c.svg" title="Stuck out tongue winking eye"&gt;&amp;#x1f61c;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;What do you try to achieve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129435?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:12:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b58ce1b-d716-4f69-8ad0-5ca06095e7a7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="97441" url="~/discussions/f/process/34037/call-subprocess-with-pmid-sync/129433"]do you know if it can be implemented via Appian API [/quote]
&lt;p&gt;An API call can already be used to launch a process, but it still wouldn&amp;#39;t be &lt;em&gt;synchronous&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;If your use case &lt;strong&gt;absolutely requires&lt;/strong&gt; the synchronous flow, the only thing I can think to suggest is that you can just call a handler subprocess that branches to the different possible child processes (synchronously).&amp;nbsp; If you didn&amp;#39;t require synchronous (chained) process flow then it would be even easier, since you could just use the &lt;em&gt;Start Process Node&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129434?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:10:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:958a7dad-ab5e-4f48-bfe6-420f406d67e9</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="97441" url="~/discussions/f/process/34037/call-subprocess-with-pmid-sync/129433"]Do you know if the feature will be available in next versions? [/quote]
&lt;p&gt;There&amp;#39;s no way to say for sure, but I can fairly confidently say there&amp;#39;s &lt;em&gt;absolutely no reason to expect&lt;/em&gt;&lt;span style="text-decoration:underline;"&gt;&lt;em&gt;&lt;/em&gt;&lt;/span&gt; such a thing to just turn up in any of the 24+ versions.&amp;nbsp; The various subprocess launching mechanisms in place already are sufficient for &amp;gt;95% of use cases (even being stingy with that estimate) and I have not seen any particular demand for such a thing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129433?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:07:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a3aefe33-b7f1-4e95-89cd-df349d43d90e</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Thx Stefan, we made a quick search, and realize that there was no option actually.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you know if the feature will be available in next versions? I think that it could be a great improvement in the platform.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;On the other hand, if this is not planned, do you know if it can be implemented via Appian API creating a new smart service? I think that it would only be necesssary to locate the actual implementation of the call subprocess smart service, but we don&amp;#39;t really know where is actually located.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call subprocess with pmid (sync)</title><link>https://community.appian.com/thread/129432?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 19:02:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e712344-c4fb-4650-ba2f-9a36023066a7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;There is no direct way to trigger a process that way. Depending on how many choices you have, a dispatching model might implement the logic to branch off a sync process depending on conditions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>