Launch Job activity


The Launch Job activity spawns a new process and executes the existing workflow without waiting for the launched process to complete. The new process is launched asynchronously.

The runtime value can be set through a context item. At runtime, if the Launch Job activity schedules a workflow that runs in the past, the process compensates.

An example of this feature is verifying the number of servers to run a nightly job. In this example, the site has approximately 2000 servers and the workflow runs for 2 minutes. Rather than run at 2000 multiplied by 2 min., the workflow launches in parallel.

To add a Launch Job activity

  1. In the

    Some content is unavailable due to permissions.

    Development Studio Designer window, drag the Launch Job activity from the activity palette to the process canvas.
  2. Link the Launch Job activity to the other activities in the process.
  3. Double-click the Launch Job activity to set the properties.
  4. Click the Process browser button that appears next to the Process field.

    The process browser window appears.

  5. In the process browser window, select the process to launch as follows:
    1. Enter the name or part of the name of the process in the search field.
    2. Click the Search button.
    3. Click OK to select the process that displays and close the process browser.
  6. Select the runtime settings.
  7. If you select the delay runtime setting, then enter the time to delay in milliseconds, seconds, minutes, hours, or days the Launch Job activity. This can be set as a hard-coded number, a context item, or a module configuration item.
  8. If you select the run at runtime setting, then launch the context browser to create, or select a previously created, context item with the time. (You must create the context item prior to runtime. You cannot manually enter a time value at runtime.)

    Note

     You must specify the runtime value in epoch time in milliseconds. A formatted datetime string will not work and a normal epoch time returns an error.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*