BusinessProcessRoutePointRef.BeforeExecute

Syntax:

BeforeExecute(<RoutePoint>, <Task>, <Cancel>)

Parameters:

<RoutePoint>

Type: BusinessProcessRoutePointRef.
A business process route point of Activity type in which completion check is executed.

<Task>

Type: TaskRef.
A task being executed.

<Cancel>

Type: Boolean.
Task execution cancel flag. If in the body of handler procedure a value of this parameter is set to True, task will not be executed.
Default value: False.

Description:

Occurs when calling ExecuteTask method of the task and after BeforeExecute event has been processed by the task.

Note:

Only for Activity type points.
Interactive calls (opening forms, warnings) are not allowed in this handler.

    

1C:Enterprise Developer's Community