Edit on GitHub

Get Resources

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

An action to filter related API resources.

Get Resources
property name*
object
tagrequired
reference
Resource tag

This should map to the tag of the resources we have in our API documentation

filter
object
page
object
sort
object
blocking
boolean
default: false

Determines if the query action will block subsequent steps.

onSuccess
object
The handler for filtered querying response
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.

Examples:
getResources:
  tag: workflow_runs
  filter:
    workflow_runs:
      workflow_template_id: workflow_run.data.attributes.workflow_template_id
  page:
    workflow_runs:
      size: 20
  sort:
    workflow_runs: -created_at
  onSuccess:
    do:
      - set_field:
          field: sampleField
          value: response.data
Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.