Default result
Summary
id: string
meta: object
type: enum (step|split|join)
transitions:
- # {transition}
- # {transition}
functions:
pre:
- # {function}
- # {function}
post:
- # {function}
- # {function}
Properties
Name | Required | Type | Description |
---|---|---|---|
id | true | string | Identifier of the registered condition class to use |
meta | false | object | Arbitrary data to help describe your condition. Not used by the engine. |
type | true | string | Indicates what this result will do to the flow. Either a simple step change, a split or a join. |
functions.pre | false | array | Array of function objects that will be executed before the transitions take place. |
functions.post | false | array | Array of function objects that will be executed after the transitions take place. |
transitions | true | array | Array of transition objects that define the change of step statuses that effectively allow instances to move through the flow. |
JSON schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "defaultResult.schema.json",
"type": "object",
"title": "Workflow result (default)",
"additionalProperties": false,
"required":[ "id", "meta", "type", "transitions" ],
"properties":{
"id" : { "type":"string", "description":"Unique identifier for the result within the action" },
"meta" : { "type":"object", "description":"Abitrary metadata that you may use to describe the result."},
"type":{
"type":"string",
"description":"Describes the type of this result. Either 'step', 'join' or 'split'",
"enum":[ "step", "join", "split" ]
},
"functions":{
"type":"object",
"description":"Pre and post functions that execute before and after this result is executed.",
"$ref":"functions.schema.json"
},
"transitions":{
"type":"array",
"minItems":1,
"description":"Array of step status transitions that this result actions when executed.",
"items":{
"type":"object",
"$ref":"transition.schema.json"
}
}
}
}