In this article:

Events

Creating the Fore Method Call Step

To create the step calling the Fore method, open the Fore method call 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. The Step Description page opens:

Determine the following for the Fore Method Call step on the Step Description page:

NOTE. The unit must not contain any external parameters.

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

The checkbox selected in the Finish Step By box enables setting the time by which the step is to be finished. On selecting the "minute" or "hour" time measurement units, this box is hidden.

If the step is not finished by the planned execution time, its state becomes Expired and Not Executed or Completed with Error.

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

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

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

Events

The next wizard page is Events:

Set up automatically executed actions started when one of the events is occurred: step execution start, step execution finish and step rejection.

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.

To change the actions execution order, use the / buttons, 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, go to the steps execution emulation.

See also:

Creating Stage Steps