Previous Topic: Configure CA Workflow Access in CA EEM

Next Topic: Security Considerations

CA Workflow Workitem Assignment

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

  1. Launch the CA Workflow IDE.
  2. Double-click name of the Process Definition you wish to edit.

    The Process-Definition appears in the Process Designer window.

  3. Select the Roles tab.
  4. Add or Update a Role.
  5. Select Global User List from the list of available Actors and click Edit.
  6. Enter a list of CA EEM userids separated by a semi-colon. You may use the Browse button to browse and select users known to CA EEM.