Code Model
Business Units
Expressions
Control Flow

Control Flow

IfCondition

Represents an "If" condition statement.

{
    "ExpressionType": "IfCondition",
    "LeftCondition": {
        "ExpressionType": "GetProperty",
        "SourceLogicalId": "item",
        "Extension": null,
        "LogicalId": "Name",
        "Description": null
    },
    "Operator": "Equal",
    "RightCondition": {
        "ExpressionType": "GetInput",
        "Extension": null,
        "LogicalId": "Name",
        "Description": null
    },
    "LogicalOperator": "And",
    "Operands": null,
    "OnSuccess": [
        {
            "ExpressionType": "SetVariable",
            "Value": {
                "ExpressionType": "Constant",
                "DataType": "Boolean",
                "Value": true
            },
            "LogicalId": "tagexist",
            "Description": ""
        }
    ]
}

ForLoop

Represents a "For" loop.

{
    "ExpressionType": "For",
    "StartIndex":{
        "ExpressionType": "Constant",
        "DataType": "Int32",
        "Value": 0
    },
    "StepIn": 0,
    "EndIndex": {
        "ExpressionType": "Constant",
        "DataType": "Int32",
        "Value": 10
    },
    "IndexingVariableLogicalId": "existingTags",
    "Expressions": []
}

ForEach

Represents a "ForEach" loop.

{
    "ExpressionType": "ForEach",
    "ItemVariableLogicalId": "item",
    "ArrayLogicalId": {
        "ExpressionType": "GetProperty",
        "SourceLogicalId": "existingTags",
        "Extension": null,
        "LogicalId": "List",
        "Description": null
    },
    "Expressions": []
}

Condition

Represents a general condition operation.

{    
    "ExpressionType": "Condition",
    "LeftCondition": {
        "ExpressionType": "GetProperty",
        "SourceLogicalId": "item",
        "Extension": null,
        "LogicalId": "Name",
        "Description": null
    },
    "Operator": "Equal",
    "RightCondition": {
        "ExpressionType": "GetInput",
        "Extension": null,
        "LogicalId": "Name",
        "Description": null
    },
    "LogicalOperator": "And",
    "Operands": null
}

Returns

Represents a return operation.

{
    "ExpressionType": "Returns",
    "Output": {
        "ExpressionType": "ExecuteQuery",
        "PageNumber": null,
        "PageSize": null,
        "Arguments": [
            {
                "LogicalId": "Name",
                "Value": {
                    "ExpressionType": "GetInput",
                    "Extension": null,
                    "LogicalId": "Name",
                    "Description": null
                }
            }
        ],
        "Extension": null,
        "LogicalId": "RetrieveQuestionTemplateByName",
        "Description": null
    }
}

Where

Represents a where condition operation.

{    
    "ExpressionType": "Where",
    "Condition" : {
        "LeftCondition": {
            "ExpressionType": "GetProperty",
            "SourceLogicalId": "item",
            "Extension": null,
            "LogicalId": "Name",
            "Description": null
        },
        "Operator": "Equal",
        "RightCondition": {
            "ExpressionType": "GetInput",
            "Extension": null,
            "LogicalId": "Name",
            "Description": null
        },
        "LogicalOperator": "And",
        "Operands": null
    }
}

Any

Represents an any condition operation.

{    
    "ExpressionType": "Condition",
    "Condition" : {
        "LeftCondition": {
            "ExpressionType": "GetProperty",
            "SourceLogicalId": "item",
            "Extension": null,
            "LogicalId": "Name",
            "Description": null
        },
        "Operator": "Equal",
        "RightCondition": {
            "ExpressionType": "GetInput",
            "Extension": null,
            "LogicalId": "Name",
            "Description": null
        },
        "LogicalOperator": "And",
        "Operands": null
    }
}