connection

Parent: activity

Applies whentype in (switch)type in (draftSwitch)

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
Name of this workflow switch activity branch.

Property Groups:

  • execution
  • serverSideCondition
  • condition
  • activity
  • config
  • advanced
  • comments
execution
PropertyTypeRequiredDefault ValueDetails
sequencenumberYesdata type=number; maxLen=22
Applies whentype in (CHECK_WF_VARIABLE)type in (CASE)type in (IF_ELSE)
execution {
  sequence: 42
}
serverSideCondition
PropertyTypeRequiredDefault ValueDetails
typeenumNodata type=string; lov=STATIC
Valid values: rowsReturned noRowsReturned expression functionBody variable=value variable!=value variableIsNull variableIsNotNull variableIsZero variableIsNotZero variableIsNullOrZero variableIsNotNullAndNotZero variableContainsNoSpaces variableIsNumeric variableIsNotNumeric variableIsAlphanumeric variableIsInColonDelimitedList variableIsNotInColonDelimitedList textIsContainedInVariable text=value text!=value textIsContainedInValue textIsNotContainedInValue never
Applies whentype = IF_ELSE
sqlQuerymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type in (rowsReturned)type = IF_ELSE and type in (noRowsReturned)
languageenumYesplsqldata type=string; lov=STATIC
Valid values: sql plsql javaScript-mle
Applies whentype = IF_ELSE and type = expression
sqlExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type = expression and language = sql
plsqlExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type = expression and language = plsql
javaScriptExpressionmultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type = expression and language = javaScript-mle
languageenumYesplsqldata type=string; lov=STATIC
Valid values: plsql javaScript-mle
Applies whentype = IF_ELSE and type = functionBody
plsqlFunctionBodymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type = functionBody and language = plsql
javaScriptFunctionBodymultiline stringYesdata type=multiline string; maxLen=4000
Applies whentype = IF_ELSE and type = functionBody and language = javaScript-mle
itemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = IF_ELSE and type in (variable=value)type = IF_ELSE and type in (variable!=value)type = IF_ELSE and type in (VALUE_OF_ITEM_IN_COND_1_EQ_COND_2)type = IF_ELSE and type in (VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2)type = IF_ELSE and type in (variableIsNull)type = IF_ELSE and type in (variableIsNotNull)type = IF_ELSE and type in (variableIsZero)type = IF_ELSE and type in (variableIsNotZero)type = IF_ELSE and type in (variableIsNullOrZero)type = IF_ELSE and type in (variableIsNotNullAndNotZero)type = IF_ELSE and type in (variableContainsNoSpaces)type = IF_ELSE and type in (variableIsNumeric)type = IF_ELSE and type in (variableIsNotNumeric)type = IF_ELSE and type in (variableIsAlphanumeric)type = IF_ELSE and type in (variableIsInColonDelimitedList)type = IF_ELSE and type in (variableIsNotInColonDelimitedList)
textstringYesdata type=string; maxLen=4000
Applies whentype = IF_ELSE and type in (textIsContainedInVariable)type = IF_ELSE and type in (textIsContainedInValue)type = IF_ELSE and type in (textIsNotContainedInValue)type = IF_ELSE and type in (text=value)type = IF_ELSE and type in (text!=value)
valuestringYesdata type=string; maxLen=4000
Applies whentype = IF_ELSE and type in (variable=value)type = IF_ELSE and type in (variable!=value)type = IF_ELSE and type in (VALUE_OF_ITEM_IN_COND_1_EQ_COND_2)type = IF_ELSE and type in (VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2)
listarray of stringsYesdata type=string; maxLen=4000
Applies whentype = IF_ELSE and type in (variableIsInColonDelimitedList)type = IF_ELSE and type in (variableIsNotInColonDelimitedList)
itemstringYesdata type=string; maxLen=4000; textCase=UPPER
Applies whentype = IF_ELSE and type = textIsContainedInVariable
valuestringYesdata type=string; maxLen=4000
Applies whentype = IF_ELSE and type in (textIsContainedInValue)type = IF_ELSE and type in (textIsNotContainedInValue)type = IF_ELSE and type in (text=value)type = IF_ELSE and type in (text!=value)
serverSideCondition {
  type: rowsReturned
  sqlQuery: ```sql
    value
  ```
  language: sql
  sqlExpression: ```sql
    value
  ```
  plsqlExpression: ```plsql
    value
  ```
  javaScriptExpression: ```javascript-mle
    value
  ```
  plsqlFunctionBody: ```plsql
    value
  ```
  javaScriptFunctionBody: ```javascript-mle
    value
  ```
  item: value
  text: value
  value: value
  list: [
    value
    value
  ]
}
condition
PropertyTypeRequiredDefault ValueDetails
whenenumYesdata type=string; lov=STATIC
Valid values: true false null
Applies whentype = TRUE_FALSE_CHECK
operatorenumYesdata type=string; lov=STATIC
Valid values: = != > < >= <= isNotNull isNull otherwise
Applies whentype in (CHECK_WF_VARIABLE)type in (CASE)
valuestringYesdata type=string; maxLen=32767
Applies whentype in (CHECK_WF_VARIABLE)type in (CHECK_WF_VARIABLE) and type in (CASE)type in (CASE) and type in (CHECK_WF_VARIABLE)type in (CASE)
condition {
  when: true
  operator: "="
  value: value
}
activity
PropertyTypeRequiredDefault ValueDetails
toreferenceYesdata type=reference; lov=COMPONENT; references=activity
activity {
  to: @component
}
config
PropertyTypeRequiredDefault ValueDetails
buildOptionreferenceNodata type=reference; lov=COMPONENT; references=buildOption
Applies whentype = IF_ELSE
config {
  buildOption: @component
}
advanced
PropertyTypeRequiredDefault ValueDetails
diagramstringNodata type=string; maxLen=32767
advanced {
  diagram: value
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

connection sample (
    name: value
    execution {
        sequence: 42
    }
    serverSideCondition {
        type: rowsReturned
        sqlQuery: ```sql
          value
        ```
        language: sql
        sqlExpression: ```sql
          value
        ```
        plsqlExpression: ```plsql
          value
        ```
        javaScriptExpression: ```javascript-mle
          value
        ```
        plsqlFunctionBody: ```plsql
          value
        ```
        javaScriptFunctionBody: ```javascript-mle
          value
        ```
        item: value
        text: value
        value: value
        list: [
          value
          value
        ]
    }
    condition {
        when: true
        operator: "="
        value: value
    }
    activity {
        to: @component
    }
    config {
        buildOption: @component
    }
    advanced {
        diagram: value
    }
    comments {
        comments: ```
          value
        ```
    }
)