Hi All,
Anyone can pls answer the below questions
1.difference between QueryProcessAnalytics and queryEntities in Appian2.Explain about foreach function and Which case use in foreach?3.What is the difference between the Instance Process and Delete Process in Data management? 4.When we go for Delete Process in Data Management? 5.There are 100 members in Array,how to find 55 member and also want to replace 55 member to 65 member? 6.What are the functions to trigger the flow in the interface itself? 7.Explain about the Queries function and Which case used in the Queries ?8.What is the difference between Query Process Analytic and query Entities?
Thanks in Advance!
Discussion posts and replies are publicly visible
Hi,Answers are as following -1) QueryProcessAnalytics 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 - https://docs.appian.com/suite/help/20.4/fnc_system_a_queryprocessanalytics.html- https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html
2) foreach -- 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.Use cases - 1) When creating Editable grid.2) When manipulating data for some specific use cases.3) To display a section for a number of timesBasically whenever we need to add loop in our code, a!foreach can be used.
3) Process Instance - whenever we execute a process its new instance is created, that is called as process instance.
Delete Process - This allows you to delete the instance of process after completion after given period of time . 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 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 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't need that as well
5) index({1,2,3...100},55,{}) - use index to find the 55 indexupdatearray({1,2,3...100},55,43784) - use updatearray( array, index, value ) for update the array at given index and provided value
6) In my knowledge - a!startProcess,a!writeToDataStoreEntity() , a!processTaskLink
7) - https://docs.appian.com/suite/help/20.4/fnc_system_a_queryentity.html - the following link gives the insight knowledge on query entities Hope the answers help Thanks
Thank you very much
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.
Thank you very much stefan