Contains Step

Last published at: May 14th, 2024

Description:

Contains one of the strings.

Inputs

  • stringText: Text to search for
  • listOfStrings: List of search items

Returns

  • True – step executed successfully
  • False – step failed to execute

Usage:

Example:

Let’s build and execute the containsStepDef example.       

  • Create a new definition called “containsStepDef
  • Select the definition and click the “design” button
  • Drag a "Contains" step to the canvas
  • Connect the dots between the start and "Contains" step
  • Click on the “Contains” step to configure its properties. Provide the text value and list of items to search for. 

  • Save the process definition. Create a new process instance and execute. The process step should search the "items" in the text and return true, as configured.