<?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 Table with Expressions as output</title><link>https://community.appian.com/discussions/f/user-interface/22171/decision-table-with-expressions-as-output</link><description>I would like to use a decision table to determine a particular display configured as an expression. If an object is of type A and Status B, then display rule!AB. The configured expression would not take in any inputs and is only for display purposes.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Decision Table with Expressions as output</title><link>https://community.appian.com/thread/86893?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 20:08:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:710b6dcc-bc21-4588-812a-5d08c54a5a80</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Somewhat recently I did come upon a particular use case - something that assigns different arbitrary text output values to various arbitrary combinations of input status IDs (in some cases keying off a main status id and a substatus id, and in other cases just the main status id).&amp;nbsp; That works well, and the same thing in an expression rule would&amp;#39;ve been, while not very hard, a painful amount of if() handling, etc.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, so far this has been the only time I&amp;#39;ve used one (and i had to be OK with the hardcoding of values involved, which I just kinda had to overlook in this case), -- but all other occasions I&amp;#39;ve investigated the possibility I&amp;#39;ve found that they just don&amp;#39;t cut it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Table with Expressions as output</title><link>https://community.appian.com/thread/86892?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 20:03:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51b7fd30-00ee-478e-9ab6-76a8dee78e33</guid><dc:creator>Chris</dc:creator><description>[quote userid="50400" url="~/discussions/f/user-interface/22171/decision-table-with-expressions-as-output/86889#86889"]Though at that rate, it seems hardly worth it to even bother with the decision rule anymore - which is why I&amp;#39;ve ended up hardly ever using them.[/quote]
&lt;p&gt;Just wanted to chime in to agree with this - without expressionable outputs for decision rules, I haven&amp;#39;t been able to find any use cases to actually implement one in production, in my environment.&amp;nbsp; This might be a case for a new &amp;quot;Feature Request&amp;quot; thread..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Table with Expressions as output</title><link>https://community.appian.com/thread/86891?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 19:52:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdb55ee7-196a-4ffe-990e-f82eb659ce1b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Your decision could just return integers 1 - N, then an expression rule wraps it in a &lt;em&gt;choose()&lt;/em&gt; statement, to avoid a thousand nested if() levels.&lt;/p&gt;
&lt;p&gt;But yes I agree, decisions will only ever be actually useful for any use cases more complicated than very simple ones and/or demos, when they&amp;#39;re more expressionable in the inputs and/or in the outputs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Table with Expressions as output</title><link>https://community.appian.com/thread/86890?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 19:45:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a433993b-0949-49b6-a745-d8c155c652b3</guid><dc:creator>naomip0001</dc:creator><description>&lt;p&gt;Kind of. The use case is perfect. I don&amp;#39;t want to create some giant if statement, but it looks like that&amp;#39;s the only option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decision Table with Expressions as output</title><link>https://community.appian.com/thread/86889?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 18:44:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a65ae918-daa3-4525-b124-cd97d7b0fd4e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This is super ghetto but you could always wrap the decision in an expression rule and direct the expression rule to call different [expressionable] outcomes based on a particular plaintext output from the decision.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Though at that rate, it seems hardly worth it to even bother with the decision rule anymore - which is why I&amp;#39;ve ended up hardly ever using them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>