Configure a Create new job activity

Use the following procedure to configure a Create new job activity.

A Create new job activity allows you to create a new job that can run independently of the job that created it.

  1. Add an activity to the map.

    By default, the Configuration tab is open in the properties panel of the activity.

  2. Change the default Name of the activity to something meaningful.
  3. On the Type list, select Common > Create new job.
  4. Configure the Job type.
    Create new job

    Static

    On the Process list, select the required process or case. At runtime, a job, case, or job in case is created on the selected process or case.

    We recommend you select this option for backward compatibility if upgrading from a previous version.

    Dynamic
    1. On the Base process list, select the required process or case. At runtime, a job, case, or job in case is created on the selected process or case.

    2. To override the base process with another process at runtime, for Override process, 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 job, case, or job in case is created on the base process. If you provide a wrong process ID or name, no job, case, or job in case is created.

    Create new case

    Select a process or server variable as a Case reference.

    Create job in case

    Specify whether to create a new job in a case based on Case ref or Case ID. Then select a process or server variable as a Case identifier.

    When you select a process or base process:

    • The Initialization variables for the selected business process map/case fragment are displayed.

    • If you select a synchronous process, a list of output variables associated with the selected synchronous process map appears. By default, under Output variables, only the variables set as outputs are displayed in the order defined. Click the Show all variables link to view the list of all variables.

  5. Map variables from the main process map to the parameters of the new job process map by selecting the process or server variable or enter an inline 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.

    • Initialization parameters can be passed from the main map to the second (if required), but output parameters cannot be passed from the second process map back to the main map.

  6. On the Created job list, select a process or server variable to return the job ID of the created job. You can use this job ID in the parent process.
  7. Save the process map.
  8. Configure other properties for this activity. See Activity properties.