A CA Workflow workitem’s Role may be assigned to human and non-human actors. Examples of non-human actors can include a custom Java object, a command-line process or another CA Workflow process instance. For human actors, the workitem role is set to Global User List, which is the CA EEM user repository. This must be a semi-colon separated list of userids. For example:
ServiceDesk; abeju01; My Group
assigns the workitem to users ServiceDesk, abeju01 and anyone who belongs to My Group. This means that any one of these users can complete the workitem.
Note: All these users and groups must be known to CA EEM. So the group My Group is a group in CA EEM, and not a group in CA SDM.
To assign a workitem dynamically to a single user, set the Role userlist to $MyUser.
Note: Do NOT add double-quotes around the string.
Declare a string attribute named MyUser in the process definition. When the workitem is created, whatever value is in MyUser is used for the workitem assignment. This means that you must assign a valid value to MyUser, either a single username or list of user names separated by a semi-colon. This assignment must be done before it is used in a workitem.
An example of assigning userids to variables is in the Order PC definition demo. It assumes the userid of a CA SDM Contact record matches the userid of a corresponding user record in CA EEM. The Order PC demo shows how to retrieve userids from CA SDM using the web service interface. The userids can come from the ticket (such as the assignee, category assignee, etc.).
To summarize setting the assignment of a workitem
The Process-Definition appears in the Process Designer window.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |