fields
This block is part of the http connection group and was last modified in core v10.4.28.
Fields Selection Required
This block relies on fields that you selected to perform its data actions. You must manually select the fields you want to use in your flow using the fields selector modal. To access the modal, click the white button on the block.
Field Selection Required
This block requires field selection (in). You must manually select the fields you want to work with using the field selector modal. To access the modal, click the white button on the block.
fields v10.4.28 Runs the given function per field for easier validation. By default it makes a field required. Function return values can be condition, value (error)
- flow
flow - connection required
httpconnection
- flow
flow - connection
httpconnection - valid
conditionReturns true if all valed
- fields
arrayAll fields that returned an error
- errors
arrayAll errors as returned by the running functions.
Validates request-body fields: for each selected field it reads the value from the body via dot-notation and, when a validator function is wired to that field's pin, runs it with key and value pins : the function's error or description output marks the field invalid, its condition or boolean output decides validity directly. A field WITHOUT a wired function is only checked for presence: nil value -> FIELD_MISSING error. Outputs no_errors (true when every field passed), error_fields (the failing field names), and errors (one {description, success, key, type} object per failure).
A typical wiring for fields: a function trigger starts the flow; the flow out pin feeds debug.
Version history
Introduced in v10.4.28.
Back to
http connection Return to the main group to view all sub-groups Back to validation Return to the group to view all blocks within this group 