how can I prepopulate the fields of current task with previous completed task details?
Discussion posts and replies are publicly visible
Hi sireesha,To accomplish that, you have to pass the variable as reference between both tasks (within the process). Then, In Form 2 (Task Nº 2), use the ri! variables to set the values of the fields you want to populate.Dont forget to use activity classes and process variables correctly in order to obtain the desired result. Here is an example:Task 1 InterfaceTask 2 InterfaceProcessProcess Task 1 DetailProcess Task 2 DetailHope it helps,Rómulo
Thank you for the reply , need some clarification that with the above one can I populate the details in the same form
Hi sireesha,Yes, but please bear in mind the following:-Diferrent Processes: After see your last comment to Mike, and assuming that you have data store/database already configured, I may say that what you really want is populate a form with data which was previously stored (different process). So when a user instance a new task from a new process you want to display that data if exist (Name, Age, Country, Mail).To achieve this, you have to create a way to retrieve that data in a local variable when it loads the interface. For instance you can use a expression rule to retrieve that data:To know how to create a query entity rule, visit this page: https://docs.appian.com/suite/help/23.1/fnc_system_a_queryentity.html-Same Process: If the case is different tasks in the same process, you have to follow my first comment.Let us know if you made it :) ,Rómulo
Hi,
Thank you so much it was working need one more help.Can I get an expression rule to retrieve the specific fields only from data store entity.
Thank you
sireesha said:Can I get an expression rule to retrieve the specific fields only from data store entity.
a!queryEntity has the capability to specify the particular fields you want returned, when all you want is a subset of available fields. What have you tried?