BusinessProcessRoutePointCases

Collection elements:

BusinessProcessRoutePointCase
Iteration through collection using For each ... In ... Do operator is available to object. Variants are retrieved during iteration.
Access to variant is possible using [...] operator. Element index (starting from 0) in a collection is passed as an argument.

Properties:

<Variant name>

Methods:

Count
Get

Description:

Presents a collection of business process route point options.
Only for Switch type points.

Availability:

Server, thick client, external connection.

Example:

Procedure CoordinationChoiceProcessingChoiceOfVariant (
        SwitchPoint, 
        Result)
    If 
Case = 1 Then
        Result = SwitchPoint.Cases.SimplifiedVariant;
    Else 

        If 
Case = 2 Then
            Result = SwitchPoint.Cases.FullVariant;
        Else 

            If 
Case = 3 Then
                Result = SwitchPoint.Cases.DirectorVariant ;
            Else 
       
                Result = SwitchPoint.Cases.VariantWithoutCoordination;
            EndIf
;
        EndIf
;
    EndIf
;
EndProcedure

See also:

BusinessProcessRoutePointRef, property Cases

    

1C:Enterprise Developer's Community