Edit on GitHub

Behavior Schema

A schema that is used to validate a part of Laboperator workflow templates.

The general scheme of a behavior always consists of a trigger and an action. It is extended by the use of conditions, alternative actions, multiple triggers and multiple actions.

Behavior Schema
title
string <= 200 characters

A title mostly for better readability of the step schema.

whenrequired
reference
Triggers Schema

Triggers can come as a simple identifier string or an object to pass options. Either variant can be used as a single trigger or a list of triggers. Different then actions, triggers are considered alternatives. Either of any triggers could set the behavior in motion. While a behavior is in motion other occurrences of triggers on that behavior will have no effect, so the same behavior can not be triggered multiple times in parallel.

and
reference
Script

A condition that can access fields, and trigger information.

dorequired
reference
Actions Schema

Actions can come as a simple identifier string or an object to pass options. Either variant can be used as single action or a list of actions. A list of actions will always be executed sequentially. A somehow erroneous action will cause the consecutive actions not to be executed.

else
reference
Actions Schema

Actions can come as a simple identifier string or an object to pass options. Either variant can be used as single action or a list of actions. A list of actions will always be executed sequentially. A somehow erroneous action will cause the consecutive actions not to be executed.

Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.