BusinessProcessManager.<Business process name>.FindByAttribute

Syntax:

FindByAttribute(<AttributeName>, <AttributeValue>)

Parameters:

<AttributeName> (required)

Type: String.
The name of the attribute by value of which the search is to be formed, as specified in the Designer. The type of value is any, except for ValueStorage and lines of any length.

<AttributeValue> (required)

Type: Arbitrary.
The attribute value by which the search is to be performed.

Returned value:

Type: BusinessProcessRef.
Reference to business process if one is found. If there is no business process with the given attribute value, a blank reference will be returned.

Description:

Searches business process by attribute.

Availability:

Server, thick client, external connection.

Note:

If there are multiple business processes with the given attribute value, only one of them will be found.
For attributes of the String type the search is executed by exact mapping.

    

1C:Enterprise Developer's Community