Setting Next Actions

The nextStep property is similar to the input, output, submittedSample, container, and step entities. However, nextStep can only be used on the left side of a dynamic expression; it cannot be used in the calculation on the right side of the expression.

The basic syntax is as follows:

nextStep = <next step value>

Depending on how the step is configured, a nextStep expression may set the next action for the step inputs or the step outputs. For example, in steps that do not produce output samples—such as QC steps, it is the step inputs that proceed (provided they pass QC) to the next step in the workflow.

When creating an expression that calls the nextStep property, there is no need to differentiate between step inputs and step outputs. The LIMS is able to determine this from how the API represents the entities that are available to set next actions on.

Note also that this property is evaluated for each input/output, and can set a different nextStep value for each.