Databases Reference
In-Depth Information
So within the Expression Builder , select the Identity Service Functions , and from
here, select the getManager function and insert it into the expression. We now
need to pass it the employee ID of whoever is requesting the leave. Expand the
task payload; you will find it contains the content of the leave request. Select the
employeeId and insert that as the parameter, as shown in the following screenshot:
You can now save the task, redeploy it, and run the process. Assuming you specify
that the request is for jcooper , you will need to log in as jstein to approve the task.
Assigning tasks to multiple users or groups
So far, we have only looked at scenarios where we assign a task to a single user.
However, workflow enables you to either assign a task to multiple users, or to one or
more groups (or a combination of the two).
In this case, every user who is a member of the group or has the task assigned to
them will be able to see the task on their queue. However, before anyone can work
on the task, they must first claim it. Once claimed, other users will still be able to
see the task, but only the user who has claimed the task will be able to perform any
operations on it.
Although group assignments are more likely to be static, you can also
specify them dynamically in the same way we have for the user.
 
Search WWH ::




Custom Search