Configure a Create subjob activity
Use the following procedure to configure a Create subjob activity.
-
Add an activity to the map.
By default, the Configuration tab is open in the properties panel of the activity.
- Change the default Name of the activity to something meaningful.
- On the Type list, select .
-
On the
Process list, select a process map to use as a subjob.
-
A subjob is based on the selected process type:
-
If an ordinary process is selected, ordinary business processes are available for creating a subjob.
-
If a case is selected, case fragments (where the case fragment is associated with the same case as the process into which it is being embedded) and case processes are available for creating a subjob.
-
If a case fragment is selected, case fragments (where the case fragment is associated with the same case as the process into which it is being embedded) are available for creating a subjob.
-
-
You cannot use a document set enabled process/case as a subjob.
-
When a process map is selected, a list of initialization variables and output variables associated with the selected process map appears. By default, under Output variables, only the variables set as outputs are displayed in the order defined.
-
To view the list of all output variables, click the Show all variables link.
-
To get back to the selected output variables list, click the Show output variables link.
-
-
-
To override the base process with another process at runtime, select
Override and then select either option:
-
ID: At runtime, you need to provide the ID of the process that will override the base process.
-
Name: At runtime, you need to provide the name of the process that will override the base process.
- The base process and the process that will override the base process must have the same input and output variables.
- If you do not provide a process ID or Name at runtime, the subjob is created on the base process. If you provide a wrong process ID or name, no subjob is created.
-
- To create a separate subjob for each resource assigned to an activity by applying workflow rules, select Advanced workflow rules. See Add a Create subjob activity with advanced workflow rules.
-
Map the
Initialization variables from the main process map to the parameters of the
subjob by selecting the process or server variable or enter an inline value for
Value. Alternatively, you can create a new variable and map the variable. See
Create a process
variable while configuring activities.
The variable types of the process variables must match the variable types of the initialization parameters.
- Map the Output variables of the subjob by selecting the process or server variable as Value.
- Save the process map.
- Configure other properties for this activity. See Activity properties.