TaskObject.<Task name>.IsNew

Syntax:

IsNew()

Returned value:

Type: Boolean.
True - a change of the task that has not been recorded yet; False - the task is already recorded.

Description:

You can use it to determine if the task is recorded in the database.

Availability:

Server, thick client, external connection.

Example:

If Object.IsNew() Then
    Object.Name = "New task";
EndIf
;


    

1C:Enterprise Developer's Community