The Personalization module includes a servlet bean of class atg.userprofiling.GetDirectoryPrincipal
, located at /atg/dynamo/droplet/GetDirectoryPrincipal
, which you can use for resolving user directory principals. Although it is not specific to workflows, the GetDirectoryPrincipal
servlet bean has some workflow-related uses:
You can use its
principal
output parameter as an input to theWorkflowTaskQueryDroplet
. For example, you could use these two servlet beans together to find all active tasks that can be executed, claimed, and released by theApprover
role.You can use its
persona
output parameter to specify thenewOwnerName
property of theWorkflowTaskFormHandler
, which is described in detail in the next section. The name to pass to the form handler can be accessed as the value ofpersona.name
in the servlet bean.