Expand my Community achievements bar.

how to populate the assignee's name when it routes to them in wokbench ES

Avatar

Former Community Member

Hello,

Can any one please advise on how to populate the assignee's name when it routes to him along with today's date.

e.g. User submits the form to Mr. A to get approval, Mr. A open the form and his name should be pre-populated along with today's date so he just have to click on the Approve/Deny button to process the form without having to type his name and enter the date.

Thanks.

Han

1 Reply

Avatar

Level 10

You can create a PrepareData process (See Action Profiles in Help Content)

to achieve this. This prepare data process will be executed just before the

form is rendered at workspace.

You will find a TaskContext variable created within the process. By using

the XPath

  • /process_data/taskContext/object/user/givenName* you can populate the

name.

The Date also can be concatenated with user name.

Note: There might be a slight variation in the Xpath I mentioned above.

Nith