Skip to main content

Workflow components

Suggest edit Updated on November 10, 2021

Workflow components extend the functionality of building automations, determining next steps based on operations and expressions applied to automation block values.

Workflow components include:

  • Decisions: such as equals, less than, switch
  • Expressions: boolean, numeric, string
  • Loops: forLoop, ParallelProcess
  • Timing: lock, signal, timer
  • Wait: pause, waitAll, waitAny

Workflow components occur at the bottom of toolbox components.

Workflow components

  • Boolean expressions

    The Boolean Expression component allows you to write expressions containing simple Boolean operators that yield a True or False result. Set the input types of the expression parameters using the Identifiers property of the component.

  • Numeric expressions

    Numeric expressions let you perform standard mathematical functions in a solution such as multiplication, addition, and so on.

  • String expressions

    The String Expression component lets you add standard string functions to a solution such as concatenation between two string inputs.

  • Comparison Decisions

    The Comparison components are simple logic comparison operators that yield True or False result events.

  • Switch component

    The Switch component lets you use conditional logic to execute automation events. For example, use this Switch to trigger specific events based on the index of the toolbar button selected.

  • ForLoop

    The ForLoop component enables iterative execution of logic within an automation.

  • ListLoop components

    The ListLoop component lets you individually read a list of items and execute events for each item.

  • ParallelProcess

    The ParallelProcess component triggers multiple events asynchronously.

  • Lock

    The Lock component lets you control how Studio uses threads in automation execution. Threads are a resource within the operating system and only a limited number are available at a time. Using too many threads simultaneously can cause a CPU thrashing.

  • Signal

    Signals can be used in all solutions to control execution flow when multiple threads occur during the course of an automation. In particular, if two execution flows are triggered by two events (events occur on different threads), the Signal component can be used to allow the two execution flows to communicate.

  • Pause

    Use the Pause component to halt the execution of an execution path for a specific time period. Set the time period as a multiple of milliseconds.

  • WaitAll and WaitAny components

    Use either of these components to cause an automation to wait while other objects such as screens, forms, or applications are created.

Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us