Getting started
Rules Engine Widgets
Array Operation
4 min
purpose to perform transformations and computations on arrays or lists within your workflow this node allows you to apply functional programming operations like map , filter , reduce , sort , and more — directly to array variables or expressions, without code scripting problem statement many workflows require manipulating collections of data — such as filtering records, sorting results, or transforming each item doing this manually or using multiple nodes increases complexity the array operations node simplifies this by providing a single, flexible interface to execute common array operations with javascript like expressions requirements must accept an array variable or expression as input should support core operations such as map , filter , reduce , sort , find , and others must allow inline javascript functions for transformation logic should show live preview of result structure for validation must output the final transformed array or computed value to a variable use cases transform api results into new data structures filter items that meet specific criteria (e g , age > 18) sort lists alphabetically or numerically merge two arrays into one find a specific record from a dataset count or aggregate values using reduce outcome executes the selected array operation on the input list and returns the processed result the result is stored in a named variable that can be used in subsequent nodes how to use 1\ drag & drop add the array operations node into your workflow canvas and connect it to a node providing array data 2\ select operation choose the array operation you want to perform from the dropdown list 3 configure array input enter or map the array variable or expression to process 4\ define function / parameters depending on the operation type, configure the function or parameters 5\ set result variable name 6\ add description (optional)