In this article:

Step description

Managing Parameters

Events

Creating the Calculation Step

To create a calculation step, open calculation 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 on the Step Description page for the Calculation step:

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, which enables the user to create a required group of users.

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 Calculation step on the Manage Parameters page:

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

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

If there is no required process parameter, click the Process Parameters button. The Process Settings and Parameters dialog box opens where process parameter can be added.

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

The calculation algorithm in the given example is started with fixed value of the Plan Version parameter: Year plan 2018. For fixed parameter value, selection type is not selected.

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:

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

Parameter:

Sender. Process instance.

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

NOTE. Email notification can be sent only from Windows OS.

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

The list of automatically executed actions can be empty.

Click the Finish button to exit the wizard.

NOTE. To speed up resourceintensive reports, select the Execute Calculation and Fore Methods Steps at BI Server checkbox in process settings.

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

See also:

Creating Stage Steps