PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Contains

Checks whether a text contains another text, with or without matching letter case, and returns true or false.

Contains checks whether a text includes a given value anywhere inside it, for example whether an email subject contains invoice. It returns true or false, so you can use the result in a decision.

Add the action

In the Process Designer toolbox, open String and pick Contains (or type Contains in the search box). The List folder has an action with the same name that works on lists; make sure you pick the one in String.

The Contains action properties: Input String, Input Substring, Ignore Case and Result

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Input StringInputTextYesThe text to search in. It cannot be empty.
Input SubstringInputTextYesThe text to look for. It cannot be empty.
Ignore CaseInputBoolean (true/false)NoTick it to ignore the difference between uppercase and lowercase. Off by default.
ResultOutputBoolean (true/false)Yestrue if the substring is found, otherwise false.

Example

Input StringInput SubstringIgnore CaseResult
Payment receivedreceivedofftrue
Payment receivedRECEIVEDofffalse
Payment receivedRECEIVEDontrue
ศ˜tefanศ™ontrue
ศ˜tefanstefanonfalse

Good to know

  • Case-sensitive unless you tick Ignore Case. Ignore Case does not ignore diacritics: stefan does not match ศ˜tefan. Use Normalize Diacritics on both values first if you need that.
  • Empty values fail the step. An empty Input String fails with "Input String was null. Please, fill it.", an empty Input Substring with "Input Substring was null. Please, fill it." Check optional values with Null Or Empty first.

On this page