25.1.9.1.7.3 Parameterizing the Task Assignee

Use a task parameter to supply the potential owner at runtime.

The Provide Two Random Numbers task definition uses an Expression to compute its Potential Owner. As shown below, the simple expression just returns the value of the P_REQUESTED_USERNAME parameter by referencing it as a bind variable. This lets the workflow pass in the desired assignee for the task in the Human Task - Create activity.

Figure 25-30 Configuring Task Potential Owners Using a Parameter Value