is_field=True
on the attribute decorator.

Error handlers
A field can use an error handler for controlling how errors are handled in the field. Example:Return status code | Description |
---|---|
F_NEXT_ELEMENT | Continue with the next element on the iterator |
F_PROCEED | Continue with the next node in the field (normal behavior) |
F_EXIT | Exhaust the iterator and move to the receiver node execution |
F_TRY_AGAIN | Repeat execution of the node that raised the exception |
F_RESTART | Reset and restart the iterator from the beginning and try again |
Advanced setup
Some rules apply for all iterator fields:- Inbound edges connected to nodes on a different branch are only executed once before the field transmitter. These nodes are called initialization nodes.
- Outbound edges from inside the field to a leaf node are repeatedly executed on each iteration.
- Don’t connect outbound edges to nodes outside of the field. Instead collect the result of the field operation in the field receiver and connect your out-edges on this node.
- Fields can be nested.
- If there are multiple field transmitters on a node, the node is a dispatch node and it follows different rules.
- For regular fields only use one field transmitter and one field receiver.