Expressions you can use with workflow transitions.
next_node_choices
Purpose
This expression returns a list of potential choices for the next Workflow Chain Node in the Workflow Chain.
The next choice is based on the active Workflow Chain for a given sample.
May only be used in the context of LIMS.
Syntax
next_node_choices(drop: Optional[str] = 'Finished', exclude: Optional[str] = None) → list
Parameters
-
drop - a label that, if selected, means the Entity will not be routed to any further Workflows. Default value is
"Finished". IfNone, only valid downstream Workflow Chain Node names will be available for selection. -
exclude - a list of Workflow Chain Node choices to exclude from the drop-down. Useful in situations where a Workflow Chain Transition is present for logical clarity but will never be directly "followed".
-
For example, split/merge chains:
a -> b, a -> c, b -> d; c -> d).
-
Returns
The list of Workflow Chain Nodes (names, not fixed IDs) downstream from the current Workflow for the current Entity row in the Worksheet, lexicographically sorted.
Example
another_expression
Accordion Description
