Automation Action – Select Case | ThinkAutomation

Automation Action: Select Case

Conditionally execute a one or more actions in the matching Case block.

Creates a Select Case block to conditionally execute a group of actions in the matching Case block.

When you drag a Select Case action onto the Actions list you will be asked for a Value. Enter a value or a %variable% replacement.

A Select Case block will then be created.

Click a Case action to define the condition for each Case statement.

The Is can be:

  • Equal To
  • Not Equal To
  • Less Than
  • Greater Than
  • Less Then Or Equal To
  • Greater Than Or Equal To
  • Contains
  • Does Not Contain
  • Contains One Of (list of words or phrases)
  • Contains All Of (list of words or phrases)
  • Starts With
  • Ends With
  • Else

Enter a Value or %variable% replacement to compare against the Select Case Value.

If the Select Case Value matches the Value of the Case statement then the Actions in the Case block will be executed. Drag any number of actions inside the Case block to execute. Execution will then move to the End Select action.

You can drag additional Case actions to the Select Case block.

The Case Else block will be executed if no matched Case actions are found.

Each Select Case block must have at least 1 Case action and end with an End Select.

Select Case blocks can be nested – so the Case actions can include further Select Case blocks.

Contains / Does Not Contain

The Contains and Does Not Contain match types can use wildcards and are case-insensitive.

Contains One Of/Contains All Of Match Types

For the Contains One Of or Contains All Of match types you can enter a list of words or phrases. For Contains One Of the Select Case Value must contain at least one of the values. For Contains All Of it must contain all of the values. Both Contains One Of and Contains All Of use case-insensitive matching. Individual words/phrases can contain wildcards.

This is one action from over 180 actions included with ThinkAutomation. The ThinkAutomation business process automation (BPA) solution is designed to automate on-premises and cloud-based business processes that are triggered from incoming messages. Automate messages received by email, database updates, webhooks, web forms, web chat, SMS messages, Twitter, Teams messages, documents, local files and other messages sources. Create any number of workflow automations using the drag-and-drop low-code designer. Simple fixed pricing, with unlimited message processing reduces overall costs compared to hosted automation solutions.

You can also extend ThinkAutomation by creating your own custom automation actions using the built-in designer and C#/VB.net code editor.

Download Free 30 Day Trial

Back To Automation Actions List

ThinkAutomation Home