TaskManager.<Task name>.FindByDescription

Syntax:

FindByDescription(<Description>, <ExactMap>)

Parameters:

<Description> (required)

Type: String.
A string that contains task description for working with.

<ExactMap> (optional)

Type: Boolean.
Determines search by exact mapping mode.
The search will be successful if the search string: matches the left part of the description when the parameter value is False; or matches the full description (excluding trailing spaces) when the parameter value is True.
Default value: False.

Returned value:

Type: TaskRef.; Undefined.
Reference to the found task. If no element with the required description exists, an empty reference will be returned.
If description is not set (length = 0) and search is carried out by full match, Undefined will be returned.

Description:

Looks up task by its description.

Availability:

Server, thick client, external connection.

Note:

If several tasks with the specified descriptions exist, only one of them will be found.

    

1C:Enterprise Developer's Community