<?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>Two Questions Concerning the Decision Admin</title><link>https://community.appian.com/discussions/f/rules/14521/two-questions-concerning-the-decision-admin</link><description>1. I want to use a query to return output values based on an input. For example, I have input A that is used in a query to return a filtered result of values. I have the query rule set up but how to do i introduce the input in the decision? Its not an</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Two Questions Concerning the Decision Admin</title><link>https://community.appian.com/thread/65216?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:40:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0841e7b9-d0f0-405e-9f6e-ccf37806c5d9</guid><dc:creator>mikec</dc:creator><description>I believe we have come to the same conclusion.  Its just too large for the decision engine.  thanks for the feedback!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Questions Concerning the Decision Admin</title><link>https://community.appian.com/thread/65215?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2019 13:35:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:38e3ee05-9f61-42d5-aa28-74afd8c68150</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;1. Is there any reason why you can&amp;#39;t split the query to the database out to it&amp;#39;s own thing to make the decision far cleaner? For instance, you could run the query in a script task just before the decision, and then it WOULD be an ri value.&lt;br /&gt; &lt;br /&gt; 2. Are you certain, then, that Decision object is the way to go? Nested if() statements may be clunky and time-consuming to construct at times, but they also allow for things like the contains(), length(), or count() functions, looping functions, etc.&amp;nbsp; Then again, you could also process results in contains() function for the one you were configuring as a multi-dropdown in, say, a script task just before the Decision as well, and then the results of comparison of multiple values could be&amp;nbsp;a rule input of the Decision.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Two Questions Concerning the Decision Admin</title><link>https://community.appian.com/thread/65165?ContentTypeID=1</link><pubDate>Thu, 14 Mar 2019 16:29:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9338f350-3c88-49cc-86eb-25caccab36d2</guid><dc:creator>ManuelHTG</dc:creator><description>Hi Mikec,&lt;br /&gt;
&lt;br /&gt;
Query rules will be depreciated in the next Appian Release. On the 19.1 is not possible to create new ones.&lt;br /&gt;
&lt;br /&gt;
1. Instead of checking how to do it in a Query rule, I would suggest to work with expression rules. It is a bit more complicated but it offers you all the flexibility. On the 19.1 there is a component to help you to create this DB calls, but as I guess you have a different version, you should take one example and work on that base.&lt;br /&gt;
&lt;br /&gt;
You have a full example here: &lt;a href="https://docs.appian.com/suite/help/19.1/Query_Recipes.html"&gt;docs.appian.com/.../Query_Recipes.html&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
2. In part of that expression rule, you will need to use the function a!query. One of the parameters is filter &lt;a href="https://docs.appian.com/suite/help/19.1/fnc_system_a_query.html"&gt;docs.appian.com/.../fnc_system_a_query.html&lt;/a&gt; were you will be able to select an operator as the one you are looking for.&lt;br /&gt;
&lt;br /&gt;
Good luck!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>