Show contents 

Modeling Business Processes and Their Execution > Getting Started with the Business Process Management Extension in the Web Application > Building Process > Creating Stage Steps > Creating the Calculation Step

In this article:

Setting Up Basic Properties and Parameters of Step Description

Setting Up Link between Calculation Algorithm and Process Parameters

Setting Up Actions Executed When Event Occurs

Setting Up the Fore Method Action

Setting Up the Message Action

Creating the Calculation Step

To create a calculation step:

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

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

Setup of the Calculation 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 Calculation Algorithm and Process Parameters

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

NOTE. If calculation algorithm does not contain parameters, the list is displayed as empty.

For each static field, which displays calculation algorithm parameter name, select the corresponding process parameter name in the drop-down list. If the parameter is not selected, the calculation algorithm opens with the parameter value specified in the default calculation algorithm.

Select one selection type in the Selection Type drop-down list:

NOTE. After selecting the unit, specify the method: Function <function name>(selection: IDimSelection): IDimSelection.

To limit the number of parameter values, with which a data entry form is started, execute the following operations:

  1. Click the Fix Calculation Algorithm Values button. The drop-down list displays calculation algorithm parameter dictionary elements.

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

If the parameter value is is not selected, selection is absent in the calculation algorithm.

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