In this article:

Step Description

Managing Parameters

Events

Creating the Subprocess Call Step

To create a step for starting one or several nested subprocesses with specific parameters, open the subprocess step wizard.

To open the wizard

After the basic step properties have been determined, click the Next button on the first page of the wizard.

Step Description

The next wizard page is Step Description:

Determine the following for the Subprocess Call step on the Step Description page:

If there is no required group of users in the list, click the Open Security Manager button. The dialog box of security manager of Foresight Analytics Platform opens, which enables the user to create the required group of users.

To edit the selected subprocess, click the button. The Set Up Business Process dialog box opens to edit a subprocess.

If the required subprocess is absent in the list, click the Create Process button. A new process creation dialog box opens.

Enter a numeric value of step execution time and select a time measurement unit in the list:

To determine time by which step must be finished, select the Finish Step By checkbox. On selecting the "minutes" or "hours" time measurement units, this box is hidden.

If the step is not finished by the scheduled execution period, the step status becomes Expired.

The step execution period impacts the whole process execution period, which is determined on starting process for execution.

After the parameters have been determined on the Step Description page, click the Next button.

Managing Parameters

The next wizard page is Manage Parameters:

Determine the following for the Subprocess Call step on the Manage Parameters page:

The Group Call checkbox is selected by default with unselected splitting parameter value that is required to be filled. If during process execution there is not necessity to divide a subprocess by a parameter, deselect the checkbox.

NOTE. Use subprocess parameters as splitting parameter.

NOTE. If none of initial selection elements in the dictionary has children elements, then on executing subprocess, the step will finish without subprocesses start.

Example of splitting schema use

By default, automatic execution is selected for the step. The steps of the process with automatic execution are marked with the sign at the top right corner of the block.

It is possible to change execution option after step setup. To do this, select the step in the workspace on business process setup and select the Automatic Step Execution context menu item.

Example of restarting subprocess from the first step

Example of restarting subprocess from the last step

NOTE. To restart specific subprocess instances on rejecting the current step for the Call Subprocess finished step, select the Selective Rejection of Subprocesses checkbox and manually start the subprocess with required start parameters.

NOTE. If for subprocess parameter which is a splitting parameter the empty value was fixed, then on the process execution the step finishes without subprocesses start.

If the drop-down list of process parameters does not contain the required value, click the Process Parameters button. The Process Settings and Parameters dialog box opens, in which a process parameter can be added.

After the parameters have been determined on the Manage Parameters page, click the Next button.

Events

The next wizard page is Events:

Set up automatically executed actions launched on step execution start or end.

On generating a list of executed actions, select a tab with event first:

To add an event, click the button on the ribbon. The number of added actions is unlimited.

Actions to be added:

To edit the selected unit, click the button.

To create a unit, click the button.

Sub <Fore-method name>(Sender: IBProcessInstance; Args: IBProcessStepStateEventArgs);

Parameter:

Sender. Process instance.

Args. Event information: step, step old state, new state.

To refresh the methods list, click the button.

To copy method signature, click the button.

To change order of operations execution, use the / buttons on the toolbar, to delete use the button.

The list of automatically executed actions can be empty.

Click the Finish button to exit the wizard.

After creating the process steps, set up process steps execution conditions.

See also:

Creating Stage Steps