<?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>Entity Name in query Entiry to be passed dynamically</title><link>https://community.appian.com/discussions/f/data/27697/entity-name-in-query-entiry-to-be-passed-dynamically</link><description>Hi, 
 Is it possible to pass the entity name dynamically or using the table in query entity? 
 
 May be have some rule which will take the table name and return the data store entity. 
 
 Regards, 
 Mukesh</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Entity Name in query Entiry to be passed dynamically</title><link>https://community.appian.com/thread/107757?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 21:08:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b9f4cdc7-bb42-4d60-8c61-af7d100c819b</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;&lt;strong&gt;Entity name can be&amp;nbsp;provided&amp;nbsp;dynamically using rule input to query entity rule.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;1. Create RI of type DSE.&lt;/p&gt;
&lt;p&gt;2. Provide DSE constant while calling the queryEntity rule. You can have DSE constant with multiple&amp;nbsp;values and provide appropriate index. E.g. cons!DSE_EMP[1] etc.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1676063166061v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Entity Name in query Entiry to be passed dynamically</title><link>https://community.appian.com/thread/107719?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 11:05:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cdfc09f7-6a8b-4d8e-8f7a-470995607330</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can still use what Aman mentioned by defining a constant against the name. Please understand that on Appian, you cannot refer the entity with just the name and you need a pointer (constant in this case) so you&amp;#39;ll have to involve it anyhow.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now you can use an expression as shown or you can build a decision object that takes the name as input and returns the required constant&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Entity Name in query Entiry to be passed dynamically</title><link>https://community.appian.com/thread/107716?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 10:31:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f90213d4-4483-415f-94dc-c8f76c527eb5</guid><dc:creator>mukeshr0002</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am building api which takes the output from multiple tables and can&amp;#39;t create multiple&amp;nbsp;API for this. So approach is to have one api using query entity and from the system it is being invoked we will pass the entity name or table name to API as query parameters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Entity Name in query Entiry to be passed dynamically</title><link>https://community.appian.com/thread/107691?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 05:44:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bc2c9d60-2ccd-418a-982e-e0d54e7ebf41</guid><dc:creator>Amaan Shekh</dc:creator><description>&lt;p&gt;I am not sure but are you looking for this?&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1676007878024v1.png" alt=" " /&gt;&lt;br /&gt;or this?&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1676007910497v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>