Skip to content

Workflow op elements — part 2

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

Merge either PDFs into one or ZIPs into one.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}), error (any; Error).

OptionTypeDefaultRequiredDescription
filenametextnullnot declaredFilename
virtual_pathtextnullnot declaredVirtual Path
use_clear_nameboolfalsenot declaredIf true, uses the provided Filename as the actual name for the file on disk. Make sure you de-duplicate, or you will cause data loss due to overwriting!
typeselectnullyes (requireOption)Type Values: pdf, zip.
flatboolnullnot declaredFlat

Returns the identifier of the module the given Entity in the Input belongs to.

Input ports: default (resource; default).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

Options: none.

Do nothing. Just pass input to output.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

Options: none.

Get the value for a field from an entity or collection/array of entities.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
fieldtextnullnot declaredField

Add fields by identifier to protected fields on this Entity instance.

Input ports: default (any; Input), fields (any; fields).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

Options: none.

Push something to an array.

Input ports: default (any; Input), array (any; Array), item (any; Item).

Output ports: default (any; Output; recipe type {"kind":"input","port":"array"}).

Options: none.

Applies arbitrary recipe to input. This is the most powerful operator, as it can do anything a recipe can do. When in doubt, use it as it is the closest to “programming” you can do with a workflow.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
reciperecipesnullyes (requireOption)Recipe

Filters the input array using a JSONPath selector.

Input ports: default (any; Input), selector (string; Selector).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
selectortextnullnot declaredSelector
firstboolfalsenot declaredFirst

Sets values on the input.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
copyworkflow-expressionnullnot declaredWorkflow variable pointing to an object to copy fields from.
recipesrecipes[]not declaredSet field values using recipes.
valuesworkflow-expression[]not declaredSet field values to constants or workflow expressions (e.g. variables).
processboolfalsenot declaredIf selected, the values and recipes are treated as request or user data and are immediately post-processed upon being set. This includes hashing of password fields, for instance.

Sorts the input array.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
reciperecipesnullnot declaredSort Function
keyfieldnullnot declaredSort Key

Apply a string replace operation.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
texttext“not declaredHaystack
searchtext“not declaredNeedle
filltext“not declaredReplace

Returns only unique values from the input.

Input ports: default (any; Input).

Output ports: default (any; Output; recipe type {"kind":"input","port":"default"}).

OptionTypeDefaultRequiredDescription
attributetextnullnot declaredAttribute