<?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>Decision Node</title><link>https://community.appian.com/discussions/f/general/19164/decision-node</link><description>Is there a way to use constants or expressions in a Decision Object? We&amp;#39;d like to use a decision object to select which process model to start next based on status and the current process. Ideally, we&amp;#39;d like to be able to use a constant to compare the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75065?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 01:30:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6f6ecb2-abdb-4cea-9871-380643eb9792</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;We considered using a similar approach with a DB table...we may revisit that idea.&amp;nbsp; I agree, testing is&amp;nbsp;very easy when using proper process models&amp;nbsp;with gateways to control flow logic.&amp;nbsp; One advantage we&amp;#39;ve found with this approach is &amp;quot;integration testing&amp;quot; is simply testing decisions (logic) to launch the next process.&amp;nbsp; We can test the entire flow without starting a single process.&amp;nbsp; Consequently, testing each &amp;quot;sub-process&amp;quot; becomes like a unit test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75056?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 18:44:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b3fa948-bc37-455f-b552-09fb4b3f650f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I understand. We just built an application where dynamic routing is based on a 3 parameters routing configuration maintained in a db table. We use a separated script task as well. Makes testing a real challenge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75052?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 15:31:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:889210e2-46d5-4349-be2d-91239c1d6941</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;We do use this for process dispatching.&amp;nbsp; We typically put it in a script task before the &amp;quot;Start Process&amp;quot; node to help with debugging.&amp;nbsp; We&amp;#39;ve found this design pattern useful for quickly building out processes with many different re-routing requirements or complex rules for determining which path to take.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75049?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 14:05:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9ff9c40-0f96-4805-8f16-1a9108995542</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. This looks like very generic process dispatching. Do you put that into a &amp;quot;Start Process&amp;quot; node? In my experience this makes debugging and issue analysis quite difficult. Are you sure you want to do that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75047?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 13:58:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9293cdb-c1ea-4649-9c02-753d0cebdd77</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp; That is basically what we are doing....I just wish we could reference process models or constants directly in the &amp;quot;Choice Values&amp;quot; or directly in the table.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75044?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 13:47:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c6da0382-a209-474d-bbf5-19734a757f86</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You can create a list of constants for comparing decision inputs like this.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1593438326752v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Node</title><link>https://community.appian.com/thread/75038?ContentTypeID=1</link><pubDate>Mon, 29 Jun 2020 12:24:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9066fa63-fc04-44d9-91c1-1ea562952290</guid><dc:creator>bryant.st39</dc:creator><description>&lt;p&gt;We have a workaround that will prevent us from &amp;quot;hard coding&amp;quot; process model ids...but it still seems like there should be an easier way.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1593433446907v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>