edoc automate Guide
Breadcrumbs

default\SwitchCase - edoc automate

The SwitchCase action can be used to evaluate a return value of an action to execute different actions depending on the value. If several actions are to be executed for one value, you can implement this case with the default\ActionGroup action, for example.

Conditions

If the Case Expressions parameter is set to Enabled, the individual cases are checked with extended conditions. Potential operators for the conditions are:

  • <|<=|>|>= <value>

  • !<value>

  • IN(<value1>,\value2>,...)

  • ! IN(<value1>,<value2>,...)

  • [default]: Is executed if no other case applies. Other cases are not checked.

Parameters

Type

Name

Description

ACTION

CheckValue

Specifies the value to be checked. You must specify an action that returns SingleValue.

KEYACTIONLIST

Cases

Provides a list of the individual cases:

  • Key: The value with which the return of the action in the CheckValue parameter is compared.

  • Value: The action that is executed if the case applies.

SELECT

Case Expressions

Specifies whether the values are checked with different conditions.

Return

None