In this article:

Email Parameters

Events

Creating the Send Email Notification Step

To create a step that generates automatic email notifications, open the send email notification step wizard.

To open the wizard

To send email notifications, add global variables:

NOTE. Global variable can be added using the Processes. Utilities utility with the BP_UTIL identifier. Start utility, click the Email Notification Sending Parameters button. The form containing message sending parameters opens, when it is filled in, the required global variables will be added automatically.

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 Send Email Notification 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, 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:

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.

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

Email Parameters

The next wizard page is Email Parameters, for example:

Determine the following for the Send Email Notification step on the Email Parameters page:

NOTE. Objects by link are viewed in the desktop application, that is why previously check that the web application is created and it contains referenced objects.

After the parameters have been determined on the Email Parameters 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.

After creating the process steps, go to the steps execution emulation.

See also:

Creating Stage Steps