In this article:

Setting Up Basic Properties and Parameters of Step Description

Setting Up Link between Subprocess and Process Parameters

Setting Up Actions Executed When Event Occurs

Setting Up the Fore Method Action

Setting Up the Message Action

Creating the Subprocess Call Step

To create a step for starting one or several nested subprocesses with specific parameters:

  1. Select the process stage or stage step and select the Subprocess Call step in the drop-down menu of the Data Entry button. The step selection button looks like the last selected step.

  2. Select the Subprocess Call created step in the working area and click the Settings button on the toolbar. The Subprocess Call parameters panel opens to set up the step.

Setup of the Subprocess Call step includes the following operations:

  1. Set up basic properties and parameters of step description.

  2. Set up link between parameters of data entry form/report and process.

  3. Set up operations executed when event occurs.

After creating and setting up process steps, set up steps execution conditions.

Setting Up Basic Properties and Parameters of Step Description

To set up basic properties and step description parameters, use the Settings tab on the step parameters panel:

Set the parameters:

By default, automatic execution is selected for the step. Process steps with automatic execution method are marked with the icon. Execution method can be changed in step settings by selecting the step in the working area during business process setup and clicking the Settings button on the toolbar.

Setting Up Link between Subprocess and Process Parameters

To start a subprocess with the same parameters as the process step, set up a link between subprocess parameters and process parameters on the Link tab of the step parameters panel:

Determine the following on the parameters panel for the Subprocess Call step on the Link tab:

      • By Function. Subprocesses are started by elements obtained after Fore method execution. Determine the following settings for the Fore method:

        1. Assembly. The box is mandatory. In the drop-down list select a Fore unit, the list contains all repository units and folders containing units. Search by unit name is available.

        2. Method. The box is mandatory. Select a method in the drop-down list. The list contains all unit methods corresponding to the signature:

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

Parameter:

Sender. Process instance.

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

To filter subprocess start by splitting parameter attributes or by its values, set up subprocesses call conditions using the Filter button.

To set required parameter values, with which the subprocess will open, execute the following operations:

    1. Click the Fix Subprocess Parameter Values button. The drop-down list displays subprocess parameter dictionary elements.

    2. Select parameter value of the subprocess parameter linked to process step. Multiple selection is available.

If a parameter value is is not selected, selection is absent in the subprocess.

Setting Up Actions Executed When Event Occurs

To set up actions executed automatically on step execution start or end, use the Events tab of the step parameters panel:

Create a list of executed operations:

  1. Select the configured event:

  1. In the drop-down menu of the Add button on the toolbar select the added action:

    •  Fore Method. Fore method execution.

    • Message. Sending email.

NOTE. One can add several actions.

  1. Set up the action.

To change operation execution order, use the Move Up and Move Down buttons on the toolbar on the Events tab; to delete, use the Delete button.

The list of automatically executed actions can be empty.

Setting Up the Fore Method Action

To set up Fore method execution, determine mandatory parameters on the parameters panel of the selected event:

Available parameters:

Execution

Assembly

Method

Setting Up the Message Action

To set up email sending, determine mandatory parameters on the parameters panel of the selected event or in the Message dialog box. Use the Message dialog box to create and edit a message text with complex formatting.

To open the dialog box

After the parameters are determined, click the Apply button.

Available parameters:

Execution

To

Copy

BCC

Subject

Message text

Text formatting settings:

Font

Font style

Alignment

List formatting

Available operations:

Insert hyperlink/link to object

Set substitution

Attach file

Attach Fore handler

See also:

Creating Stage Steps