Create a Subjob Activity with Advanced Workflow Rules
A Subjob activity is automatically completed when all the subjobs are completed or the conditions of the advanced workflow rules are met.
To set up a Subjob activity using the workflow rules, take the following steps:
- Create a subjob process. For example, create an Approval process to use as a subjob process for the Loan Application process. See Design a basic process map.
- Add the AWF_USABLE_RESOURCE system variable to the subjob map. See Add a system variable to a process.
-
Assign the AWF_USABLE_RESOURCE variable as a process
initialization variable.
This system variable automatically assigns the resources assigned to the Subjob activity to each subjob. The variable then can be used as a dynamic resource allocation variable, as needed in the subjob. See Create process variables.
- Create a Subjob activity in the parent map. For example, create the Approval Process activity as shown in the Loan Application example map.
- Configure the Subjob activity. See Configure a Create Subjob activity.
-
Add the resources for the subjob. See
Assign Resources to an
activity.
When assigning resources to a Subjob activity applying rules, you can only apply the concurrent activity assignment or sequential activity assignment option; the non-concurrent activity (single activity access) assignment does not apply to subjobs.
If the sequential activity assignment is applied, you cannot expand group resources for Subjob activities.