<?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>Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/discussions/f/process/24514/anyone-else-noticed-this-quirk-with-the-and-gateway-and-chaining</link><description>While troubleshooting an apparent error just now, I noticed that all completed instances of a relatively simple process with an AND gateway had failed to execute both of its outgoing paths. The key factor here is that the process chains (unattended) all</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94771?ContentTypeID=1</link><pubDate>Sat, 07 May 2022 17:18:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:848be33f-7304-490c-a85c-d9a13e088dd7</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;This is very interesting, I didn&amp;#39;t about this behavior about AND condition. good to know.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94740?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 16:09:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1495f609-2544-4fb6-9c29-308ebb99385e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;AFAIK if you try to chain multiple out flows from an AND, all bets are off.&amp;nbsp; That&amp;#39;s sorta congruent with what we saw in my initial results here (though from an opposing perspective, as it were).&amp;nbsp; The only frustrating part is that there&amp;#39;s no mention of this in any of the official documentation, at least per what I could find with an initial check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94739?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 15:54:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdb3e7e2-1b93-40d0-99c7-eb6785b95d00</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Also, say you have AND with 5 different forms chained to it.&amp;nbsp; Which will the user actually see?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94738?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 15:53:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f30199f2-03e2-4822-9b3e-b98eb0d96448</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;I think you&amp;#39;ll find some very interesting things.&amp;nbsp; Accordingly, if you have an OR gateway, and all the outgoing flows are valid, then the documentation SAYS that one of the flows will be first randomly.&lt;/p&gt;
&lt;p&gt;However, when I tried it, I consistently got one of the flows to finish first when attempting to create a race condition. (Fun to have a PM be your random number generator; sad it didn&amp;#39;t work.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94731?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 13:37:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa33b959-0462-4d2e-882e-10fc260ee886</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Yeah, you&amp;#39;re all probably right - it just took me by surprise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94730?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 13:37:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:114b0c96-4801-40c4-bead-e2f08324c645</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="85715" url="~/discussions/f/process/24514/anyone-else-noticed-this-quirk-with-the-and-gateway-and-chaining/94713#94713"]each AND opening gateway shall have &amp;quot;closing&amp;quot; gateway, which would mean you should have a second AND gateway before your &amp;quot;end event&amp;quot;, [/quote]
&lt;p&gt;Good point, I never realized this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94714?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 05:54:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d340d18-42d3-4853-bcaa-5005c0243e58</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Seems like a variant of the classical race-condition to me. While being tricky, I think that this is expected behaviour. This design basically says: &amp;quot;Kill the process instance ASAP ignoring other flows&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94713?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 05:53:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f41ee54f-7b65-4c97-a46f-c2a408424ea2</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Not realized, but not sure if its real bug.&lt;br /&gt;Appians defines chaining as &amp;quot;&lt;span&gt;If the completion of a task in a process &lt;strong&gt;requires&lt;/strong&gt; the same user to complete a subsequent task, you can activity-chain the two tasks together in your process model.&amp;quot;&lt;br /&gt;&lt;a href="https://docs.appian.com/suite/help/22.1/Process_Model_Recipes.html"&gt;https://docs.appian.com/suite/help/22.1/Process_Model_Recipes.html&lt;/a&gt;&lt;br /&gt;-&amp;gt; This means to me, that you define a &amp;quot;please do these tasks in priority then the rest&amp;quot;.&lt;br /&gt;&lt;br /&gt;second - BPMN Best practice -&amp;gt; each AND opening gateway shall have &amp;quot;closing&amp;quot; gateway, which would mean you should have a second AND gateway before your &amp;quot;end event&amp;quot;, which would solve your issue as it waits there until all flows arrived before going to the end event.&lt;br /&gt;-&lt;a href="https://www.visual-paradigm.com/guide/bpmn/bpmn-gateway-types/"&gt;https://www.visual-paradigm.com/guide/bpmn/bpmn-gateway-types/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94709?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 01:47:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a572a0f-f5c6-4bbb-baf8-7dc036e250df</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;It may have always been this way without me noticing - so in that respect expected.&amp;nbsp; But it took me by surprise (unsurprisingly, it was set up this way in the system i inherited, so of course it consumed some troubleshooting effort on my part, and since the model in question was slightly more complicated, it caught me off-guard more easily).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Anyone else noticed this quirk with the AND gateway and chaining?</title><link>https://community.appian.com/thread/94708?ContentTypeID=1</link><pubDate>Thu, 05 May 2022 22:21:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f12f6510-d54a-4727-b137-2d08a1086e8f</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;I have seen this before, especially since you chained the one. It was prioritized and terminated before the other path started. This is why you can&amp;#39;t terminate or you have to have them come back together before terminating. I believe it has always been this way, and dare I say, expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>