<?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>Questions</title><link>https://community.appian.com/discussions/f/integrations/20550/questions</link><description>Hi All, 
 Anyone can pls answer the below questions 
 1.difference between QueryProcessAnalytics and queryEntities in Appian 2.Explain about foreach function and Which case use in foreach? 3.What is the difference between the Instance Process and Delete</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Questions</title><link>https://community.appian.com/thread/80121?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 09:31:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c1f26d3a-d800-4b38-9943-3a4bf42fb47e</guid><dc:creator>vinothkannar</dc:creator><description>&lt;p&gt;Thank you very much stefan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions</title><link>https://community.appian.com/thread/80102?ContentTypeID=1</link><pubDate>Sun, 07 Mar 2021 12:38:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f44da822-cca1-42c4-9479-d42a0879dc57</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Regarding 6, I think the most important method to start a process is to have a start form in the model and define a button to submit the form.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions</title><link>https://community.appian.com/thread/80101?ContentTypeID=1</link><pubDate>Sun, 07 Mar 2021 12:14:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce40ed0e-fe83-473f-aa0f-c9b0b2e6e7fb</guid><dc:creator>vinothkannar</dc:creator><description>&lt;p&gt;Thank you very much&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions</title><link>https://community.appian.com/thread/80100?ContentTypeID=1</link><pubDate>Sun, 07 Mar 2021 10:53:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d408b83c-ca70-471a-8ed2-1027369354a5</guid><dc:creator>sonalim8234</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Answers are as following -&lt;br /&gt;&lt;br /&gt;1)&amp;nbsp;QueryProcessAnalytics&amp;nbsp;allows you to query over process reports (reports for process models, process instances, tasks and other activities) while Query entities allows you to query on data store entity which sits in database. For more info -&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.4/fnc_system_a_queryprocessanalytics.html"&gt;https://docs.appian.com/suite/help/20.4/fnc_system_a_queryprocessanalytics.html&lt;/a&gt;&lt;br /&gt;- &lt;a href="https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html"&gt;https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;&lt;span&gt;foreach&amp;nbsp;-- This function allows you to iterate each row for your datasubset, array, list. This holds the number of function variables like fv!index - current index, fv!item - current item, fv!isFirst , fv!isLast, fv!identifier, fv!itemCount.&lt;br /&gt;Use cases -&amp;nbsp;&lt;br /&gt;1) When creating Editable grid.&lt;br /&gt;2) When manipulating data for some specific use cases.&lt;br /&gt;3) To display a section for a number of times&lt;br /&gt;Basically whenever we need to add loop in our code, a!foreach can be used.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3) Process Instance - whenever we execute a process its new instance is created, that is called as process instance.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Delete Process - This allows you to delete the instance of process after completion after given period of time .&amp;nbsp;&lt;br /&gt;&lt;br /&gt;4) The processes which runs in scheduler should be keep in delete process and same for write to data store entities, The reason behind scheduler ones is once the process is completely&amp;nbsp;tested, it will keep on running without any manual intervention and so many instances will keep on generating, if in any condition the process got&amp;nbsp; break , its instance will not be deleted, so we can identify the issue and for write to data store entity, i can say we can check data insertion from database or from parent process as well so i think we don&amp;#39;t need that as well&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;5) index({1,2,3...100},55,{}) - use index to find the 55 index&lt;br /&gt;updatearray(&lt;span&gt;{1,2,3...100},55,43784&lt;/span&gt;) - use&amp;nbsp;&lt;strong&gt;updatearray&lt;/strong&gt;&lt;span&gt;(&amp;nbsp;&lt;/span&gt;&lt;em&gt;array&lt;/em&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;em&gt;index&lt;/em&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;em&gt;value&lt;/em&gt;&lt;span&gt;&amp;nbsp;) for update the array at given index and provided value&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;6) In my knowledge - a!startProcess,&lt;a href="https://docs.appian.com/suite/help/20.4/Write_to_Data_Store_Entity_Smart_Service.html" rel="noopener noreferrer" target="_blank"&gt;a!writeToDataStoreEntity()&lt;/a&gt;&amp;nbsp;, a!processTaskLink&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;7)&amp;nbsp;-&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html"&gt;https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html&lt;/a&gt;&amp;nbsp;- the following link gives the insight knowledge on query entities&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Hope the answers help&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>