TaskObject.<Task name>.OnExecute

Syntax:

OnExecute(<Cancel>)

Parameters:

<Cancel>

Type: Boolean.
Action execution cancel flag.
Default value: False.

Description:

Occurs when executing ExecuteTask() or ExecuteTaskInteractively() method. Event is executed during write transaction when the task is performed.

Note:

This event is not interactive and it is not recommended to open any dialog windows.

    

1C:Enterprise Developer's Community