Logic Actions
Overview
The Logic category within a workflow actions includes actions that execute a predefined set of rules and steps to control the flow of processes.
These actions are fundamental for making decisions, branching workflows, and manipulating data based on specific conditions.
Logic actions enable workflows to dynamically adapt to different scenarios, ensuring that the correct operations are performed based on the input or context.
Actions
Logic Action | Description | Reference |
---|---|---|
Assignment | It consists of the basic operation of assigning a value to a variable. For example, | |
Decision | It consists of conditional statements that allow the program to execute different blocks of code based on whether a specific condition is true or false. For example, it includes | |
Switch | It offers an alternative way to handle multiple branching scenarios. It tests a variable for equality against a list of values and executes a corresponding block of code based on the matching value. | |
Loop | It is used to repeat a workflow multiple times until a specified condition is met. Common types of loops include | |
Validate | It involves checking whether data meets certain requirements or constraints, such as correct data type, length, format, or range. | |
Logs | It involves recording events, messages, or data during program execution. Logs are valuable for debugging, monitoring, and analyzing software behavior. | |
Filter | It involves selecting a subset of items from a larger set based on specific criteria or conditions, such as filtering a list of numbers to include only even numbers. | |
Map | It transforms each element of a collection based on a Key value. It applies the function to each element and generates a new collection with the transformed values. | |
Code | It refers to the instructions written in a programming language that define the behavior of a software application. |