In this article:

Step Description

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 e-mail notifications, set up Sending Parameters in the Setting Up Parameters and Administrating Business Processes dialog box.

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 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 the 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. When the "minutes" or "hours" time measurement units are selected, 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.

Email Parameters

The next wizard page is Email Parameters:

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

NOTE. The list of variables varies depending on the location of email notification sending is specified: event process setting, setting events in step wizard, setting email parameters for the Email Notification Sending step.

NOTE. Viewing objects by link is executed in web application. Check that web application is created, there are objects in it to which links refers and the web application URL is specified on the Parameters page of the Setting Up Parameters and Administrating Business Processes dialog.

NOTE. One email can contain maximum 10 attached files.The are constraints depending on the email service in use, for example, Gmail does not accept attached files size greater than 25 Mb.

NOTE. On importing HTML file, the email contents is replaced by HTML code.

Determine for the Fore method:

To edit the selected assembly, click the button.

To create a unit, click the button.

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

Parameter:

Sender. Process instance.

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

To refresh the methods list, click the button.

To copy method signature, click the button.

NOTE. It is unavailable to insert images via HTML mode, select the Attach File option.

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 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:

To edit the selected unit, click the button.

To create a unit, click the button.

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

Parameter:

Sender. Process instance.

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

To refresh the methods list, click the button.

To copy method signature, click the button.

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

The list of automatically executed actions can be empty.

Click the Finish button to exit the wizard.

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

See also:

Creating Stage Steps