Code Model
Business Units
Expressions
Variable Management

Variable Management

InitiateVariable

Represents the initiation of a variable.

{
    "ExpressionType": "InitiateVariable",
    "TypeOf": {
        "Type": "Primitive",
        "IsArray": false,
        "DataType": "Boolean"
    },
    "DefaultValue": {
        "ExpressionType": "Constant",
        "DataType": "Boolean",
        "Value": false
    },
    "LogicalId": "tagexist",
    "Description": ""
}

SetVariable

Represents setting a variable.

{
    "ExpressionType": "SetVariable",
    "Value": {
    "ExpressionType": "Constant",
    "DataType": "Boolean",
    "Value": true
    },
    "LogicalId": "tagexist",
    "Description": "",
}

GetVariable

Represents getting a variable.

{
    "ExpressionType": "GetVariable",
    "Extension": null,
    "LogicalId": "tagexist",
    "Description": null
}

NewGuid

Represents generating a new GUID.

{
    "ExpressionType": "NewGuid",
}

Random

Represents generating a random value.

{
    "ExpressionType": "Random",
    "RegularExpression": null,
    "MinLength":{
        "ExpressionType": "Constant",
        "DataType": "Int32",
        "Value": 0,
    },
    "MaxLength":{
        "ExpressionType": "Constant",
        "DataType": "Int32",
        "Value": 10,
    },
    "DataType": "String" (can be all defined property types)
}

GetInput

Represents get input value.

{
    "ExpressionType": "GetInput",
    "Extension": null,
    "LogicalId": "Name",
    "Description": null,
}

Array

Represents generating a Array of values.

{
    "ExpressionType": "Array",
    "Extension": null,
    "LogicalId": "Names",
    "DataType": "String",
    "Description": null,
    "Value": [
        "John",
        "William"
    ]
}