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
- In the TrueSight Orchestration Development Studio Designer window, drag the Launch Job activity from the activity palette to the process canvas.
- Link the Launch Job activity to the other activities in the process.
- Double-click the Launch Job activity to set the properties.
Click the Process browser button that appears next to the Process field.
The process browser window appears.
- In the process browser window, select the process to launch as follows:
- Enter the name or part of the name of the process in the search field.
- Click the Search button.
- Click OK to select the process that displays and close the process browser.
- Select the runtime settings.
- 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.
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.)