BusinessProcessRoutePointRef.BeforeStart

Syntax:

BeforeStart(<RoutePoint>, <Cancel>)

Parameters:

<RoutePoint>

Type: BusinessProcessRoutePointRef.
Business process route point of Start type, where business process is started.

<Cancel>

Type: Boolean.
Business process start cancel flag. If required conditions for the beginning of the start are not met (for example, some external conditions are not met or attribute values that are necessary for a correct business process start are not set), in the body of handler procedure you should set a value of this parameter to True. In this case business process start will not be executed.
Default value: False.

Description:

It is called from Start method right before business process start execution and before jump start to the route point following the start.

Note:

Only for Start type point.
This event is not interactive and it is not recommended to open any dialog windows.

    

1C:Enterprise Developer's Community