Setting Up Events

Process events on executing a particular step are set up on the Events page in the Process Settings and Parameters dialog box:

Set up automatically executed operations started when one of events occurred: starting process execution, stopping process steps execution, restarting process steps, finishing process execution.

To create a list of executed operations:

  1. Select a corresponding tab with the event: Start, Stop, Restart, Finish.

  2. Click the button on the toolbar and select the added operation:

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

Parameter:

Sender. Process instance.

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

NOTE. The number of added actions is unlimited.

After executing the operations, the list of operations, that will be started at the specified order when the particular event occurs, is created. The list of automatically executed actions can be empty.

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

See also:

Setting Up Process Parameters | Setting Up Basic Properties | Managing Parameters