<?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>a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/discussions/f/general/12586/a-queryentity-invalid-query-parameter</link><description>Trying to understand why on the process history for the instance below I see the error on the first screen shot. On the SAIL task on the second screen shot, the task name for the task is coming from an expression rule and that expression rule has a query</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/thread/56068?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 07:22:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e1e739d-4947-42bb-b8ed-3e7a82371ba7</guid><dc:creator>shafaly</dc:creator><description>&lt;p&gt;Hi erickp,&lt;br /&gt; &lt;br /&gt; Issue is in &lt;strong&gt;P360_formattaskdisplaynamewithinstanceid&lt;/strong&gt; rule where you are using &lt;strong&gt;p360_qry_r_getpriority&lt;/strong&gt; rule and variable which is passed in this rule is coming as null.&lt;br /&gt; to resolve the issue you need to add a null check of that variable before using that query rule and then needs to check why the variable is coming as null (according to requirement).&lt;br /&gt; &lt;br /&gt; Error is coming on the process history because history always shows the task display name and your task display name is throwing the error&lt;br /&gt; &lt;br /&gt; Hope this will help you.&lt;br /&gt; &lt;br /&gt; Thanks&lt;br /&gt; Shafaly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/thread/56049?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 04:54:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23d7f443-b4f9-4cb8-8461-254f1e7ded30</guid><dc:creator>Shanmukha</dc:creator><description>Hi Eric,&lt;br /&gt;
&lt;br /&gt;
I came across such thing long time back and it usually comes when we use dynamic display name of the task either with some expression rule or the pv whose value is determined through some other source. Task in the task queue is also sowing the same name right? The error which is shown in the above is like you are calling some external source using query parameter which is not present in that particular table or view on the destination. &lt;br /&gt;
&lt;br /&gt;
As Ravi mentioned, If we get to see the code of that particular rule then we may able to corner the issue.&lt;br /&gt;
Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/thread/56045?ContentTypeID=1</link><pubDate>Fri, 01 Jun 2018 04:30:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:47f32368-4dcd-44b1-9b2f-e45418987cdd</guid><dc:creator>aratim</dc:creator><description>Please post the code inside P360_qry_r_getPriority rule. Also check if the variables you are using in the query rules have some value (be it default/passed in). It looks like some input parameter is missing from the call. I also agree with ravichandrat, make sure your DS is verified with DB.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/thread/56040?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 20:19:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df00854c-5b87-42da-ace2-38eb80c8c124</guid><dc:creator>ravichandt316819</dc:creator><description>&lt;p&gt;Can we see the code inside P360_qry_r_getPriority rule?&lt;/p&gt;
&lt;p&gt;Did you check that above rule working properly to get the data from DB? Sometimes this error will come if the DS not get verified properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!queryEntity: Invalid Query Parameter</title><link>https://community.appian.com/thread/56039?ContentTypeID=1</link><pubDate>Thu, 31 May 2018 19:37:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d66f923-113f-45ea-adfc-9b0291d8a309</guid><dc:creator>ChristineLHutchison</dc:creator><description>For the line that has the Error (Start), is that the start node? If yes, does your PVs have default values or are they passed in? If they are null at start, does your rule handle nulls? The rule is looking for a parameter to the query and not seeing it at that time. Just a thought.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>