Sunday, November 10, 2019

Expose & Display Variables in the BAW Process Portal's Worklist

ABSTRACT:
Expose and Display Variables in the BAW Process Portal's Worklist

DESCRIPTION:
If you wish to display the details of a record in the tasks records of the worklist of a user, then how will you do that?

SOLUTION WITH EXAMPLE:
1. Consider I have a Process App with name "HR Portal Application" with a process "HR Enrollment Process".
2. I want the variable "instanceId" value to be shown in the worklist of my process portal.
3. For the variable "instanceId" in variables tab of the process, the "Visible in Process Portal" checkbox should be checked and an alias name say "instanceNumber" should be given.



 4. Now, in Process Portal, under "dashboard", click on "Work" and in the centre of the page, where you can see "Work", click the "actions" option. Here I will find an option "Edit Columns".



5. The Available columns popup will open up, where I will search for the variable I have marked as exposed i.e. "instance Number" 


6. I will check the checkbox for this variable and click 'ok' button.



7. Now, when the process "HR Enrollment Process" is run, then in the worklist item, the instance Number column with its value will be visible. 



8. Note that for the instances created before exposing this variable and adding this column, the instance number value will not get displayed. 



9. Also note that if the alias of the variable is changed for a newer snapshot and deployed; and the previous snapshot data is not migrated. If there are instances of the previous snapshot referring to the older alias, then the value for those instances for this variable will show as blank as the alias it is pointing at is different and the system couldn't find any value for the new alias for that record.

No comments:

Post a Comment