Assign resources by applying rules
Apply rules if resource requirements for an activity are complex.
For example, apply rules if more than one resource is required to review and approve a document. By applying rules, you can group the reviews as a single activity with multiple resources, rather than separate activities with different resources.
You can also apply rules to an entire business process, and not just a single activity. You can assign rules to a Create Subjob activity; a subjob is created for each resource assigned to this activity. See Configure a Create subjob activity for more information.
- On the properties panel of the activity, click the Resource assignment tab.
- Select Resourcing for Type.
To set the resources who are required to perform this activity,
perform the following steps:
- Click Add for Resources.
- Select the resources. Resources can be static resources (group, individual and/or roles), or dynamic resources (process and server variables of String and XML types).
- Click Done.
Security level of the
activity with 1 being the highest level of security and 10 the lowest.
Security levels control which resource can work on an activity. For example, an activity with security level of 1 can only be completed by a resource whose security level is 1, or an activity with security level of 3 can only be completed by resources whose security level is 3, 2, or 1. However, an activity with security level of 10 can be completed by any resource.This property is only available for ordinary activities.
Skill level of the
activity with 1 being the highest skill level and 10 the lowest.
Skill level ensures only the resource with the required skill level is allowed to perform the activity. For more information, see Advanced properties of a resource.
- Select Apply rule.
- Configure the following rules for completing an activity.
- Click Save.
You can specify if single or multiple users should work on the activity, and the order in which they must complete the activity.
Select one of the options for
Permits the specified resources to complete the activity in any order or at the same time. For example, with Invoice Approval, concurrent access is allowed, and everyone can approve or reject at the same time. Capture activities do not support the concurrent activity access.
Permits the required resources to complete the activity in any order, but only one resource can complete the activity at one time. For example, a legal document can be officially reviewed and updated by only one person at one point in time.
Permits the selected resources to complete the activity in the order specified. Sequential assignment ensures people do not work on activities unless they are first taken or reviewed by people lower in the organizational hierarchy. For example, a junior manager must approve the loan application before it passes to the senior manager for final sign off.In a Create subjob activity that uses rules, resources must complete the subjobs using either sequential or concurrent activity assignment. Non-concurrent activity access is not available.
For the Sequential activity access, you can also specify the order in which the resources must complete the activity. Select the resource in the Resources box and then use the to set the order.
Number of resources
required to perform the current activity.
Requires all assigned resources to complete the activity.
The number of resources required to complete the activity. For example, if the number of resources assigned to an activity is 3, a static value of 2 would mean that two out of the three resources assigned to the activity must perform the activity.The number of resources required to complete an activity cannot be greater than the number of resources assigned to an activity.
A Long or Short variable to hold the value of number of resources.
To expand group resources and treat each member of the group as
an individual resource required to complete the activity, select
Expand group resources.
The runtime group functionality does not affect the subjob activity.
If the group resources are not expanded, not all members are required to complete the activity; any individual within the group resource can take the activity and complete it.
You can exclude a resource or role from completing an activity. For example, you can assign the Expenses Approval activity to everyone in the Finance group, except for the person (job creator) who submitted the expenses claim.
Click Add in the Exclude resources box and select the resources to exclude.
Use exit condition
Use exit conditions to ensure that people do not work on activities that are already rejected. You can set up an exit condition for an activity so that the activity is complete when either the exit condition is met or all the resource settings are complete. For example, if two resources must approve a loan but either one can reject it, the resource settings require both resources to complete the activity. But the exit condition is set so that the activity can be completed if either resource rejects the loan.
- Select Use exit condition to apply the exit condition to an activity.
- Select the variables to create the exit condition.
Validate to validate
the exit condition.
A message appears to indicate whether the script is valid.