Skip to main content

Abort Workflow

Function name: AbortWorkflowFunction Category: Logic Destination: General Terminates the workflow with an error message

Parameters

Exits

Add to List

Function name: AddToListFunction Category: Variables Destination: General Add a variable to a list

Parameters

Exits

Apply Transformation

Function name: ApplyTransformationFunction Category: Convert Destination: General Perform a pre-defined transformation

Parameters

Exits

If

Function name: CalculationFunction Category: Logic Destination: General Evaluate a calculation and choose a path based one whether it’s true or false

Parameters

Exits

Chunk Iterator

Function name: ChunkIteratorFunction Category: Logic Destination: General Wraps a list or iterator and yields it in chunks of up to N elements.

Parameters

Exits

Clear Error Status

Function name: ClearErrorStatusFunction Category: Logic Destination: General Clears the last error from the state, allowing the workflow to complete successfully. Place this on an error branch once the error has been handled.

Parameters

Exits

Convert line items

Function name: ConvertLineItemsFunction Category: Convert Destination: General Convert line items

Parameters

Exits

Create Index

Function name: CreateIndexFunction Category: Write Destination: General Create a index on a table in m3sh DB

Parameters

Exits

Create List

Function name: CreateStateListFunction Category: Variables Destination: General Create a list which can then be added to

Parameters

Exits

Create Map

Function name: CreateStateMapFunction Category: Variables Destination: General Create a map which can then be added to

Parameters

Exits

Create Table

Function name: CreateTableFunction Category: Write Destination: General Create a table in m3sh DB and populates it with data from an iterator.

Parameters

Exits

For Loop

Function name: ForLoopFunction Category: Logic Destination: General Increment or decrement a counter between two numbers.

Parameters

Exits

Get First Result Or Null

Function name: GetFirstResultOrNullFunction Category: Variables Destination: General Retrieves the first element from a list or iterator and stores it in a state variable.

Parameters

Exits

Has Results

Function name: HasResultsFunction Category: Logic Destination: General Inspect a list or iterator and branch based on whether it contains values or not

Parameters

Exits

Loop

Function name: LoopFunction Category: Logic Destination: General Loop over a collection of objects and apply functions to them

Parameters

Exits

List Map Values

Function name: MapValuesFunction Category: Variables Destination: General Creates a list of values stored in a map

Parameters

Exits

Merge Lists

Function name: MergeListsFunction Category: Variables Destination: General Merges two list of object with a matching field value. The merged objects are added to the destination list

Parameters

Exits

Merge Objects

Function name: MergeObjectsFunction Category: Convert Destination: General Merge the source object into the destination object.

Parameters

Exits

Merge Transformation

Function name: MergeTransformationFunction Category: Convert Destination: General Coalesces two objects using a transformation. Values in the mergeObject are overwritten by transformed fields from the sourceObject; otherwise they remain unchanged.

Parameters

Exits

Remove Field

Function name: RemoveFieldFunction Category: Convert Destination: General Removes a field on an object within the state.

Parameters

Exits

Run error workflow

Function name: RunErrorWorkflowFunction Category: Logic Destination: General Run workflow to handle an error. No further functions will be run in this workflow.

Parameters

Exits

Run workflow

Function name: RunWorkflowFunction Category: Logic Destination: General Run a workflow

Parameters

Exits

Set Field

Function name: SetFieldFunction Category: Convert Destination: General Update a field on an object within the state.

Parameters

Exits

Set Multiple Fields

Function name: SetMultiFieldsFunction Category: Convert Destination: General Update one or more fields on an object within the state.

Parameters

Exits

Create SFTP file

Function name: SftpDataOutputFunction Category: Write Destination: General Create a file on a SFTP server which can be used for writing data to.

Parameters

Exits

Sort List

Function name: SortListFunction Category: Variables Destination: General Sort an existing list in the state based on a field.

Parameters

Exits

SQL Select Data

Function name: SqlSelectFunction Category: Read Destination: General Run SQL against a table

Parameters

Exits

Validate

Function name: ValidateFunction Category: Logic Destination: General Validates an object from the state against a schema (if supported) and branches based on whether it is valid or not.

Parameters

Exits

Write CSV

Function name: WriteObjectToCsvFunction Category: Write Destination: General Writes data to a declared output as a CSV row.

Parameters

Exits

Write JSON

Function name: WriteObjectToJsonFunction Category: Write Destination: General Writes data to a declared output as a JSON object. Multiple objects written to the same format are separated by a line break (JSONL)

Parameters

Exits