Databases Reference
In-Depth Information
If we go back to the Human Task Definition form (refer to Defining the human
task section ), and double-click on the Manager Approval step in the routing policy
we defined, this will reopen the Edit Participant Type form. For the Data Type ,
specify that you want to select the participant By Expression , and then click on
the browse icon for the Value field (circled in the following screenshot):
This will open up the Expression Builder , which was introduced in Chapter 5, Using
BPEL to Build Composite Services and Business Processess . However, the key thing to
notice here is that we only have access to the content of the task we are working on
(not the full content of the BPEL process).
We need to create an expression that evaluates to the user ID of the employee's
manager. Fortunately, one of the services that come with workflow is the identity
service, which provides us with a simple way of querying the underlying identity
layer to find out details about a user. In our case, we can use the getManager
function to get the ID of the manager.
 
Search WWH ::




Custom Search