Root Workflow Schema
Represents the root workflow schema, which includes metadata and configuration
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | Yes | Unknown status | No | Forbidden | Forbidden | none | RootWorkflow.schema.json |
Root Workflow Type
object
(Root Workflow)
Root Workflow Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
$schema | string |
Optional | cannot be null | Root Workflow |
condition | string |
Optional | cannot be null | Root Workflow |
config | object |
Required | cannot be null | Root Workflow |
continueOnError | boolean |
Optional | cannot be null | Root Workflow |
cron | array |
Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
description | string |
Optional | cannot be null | Root Workflow |
hideForExecution | boolean |
Optional | cannot be null | Root Workflow |
id | string |
Required | cannot be null | Root Workflow |
name | string |
Required | cannot be null | Root Workflow |
parameterSchema | object |
Optional | cannot be null | Root Workflow |
parameters | object |
Required | cannot be null | Root Workflow |
repeatConfig | Merged | Optional | cannot be null | Root Workflow |
retryConfig | Merged | Optional | cannot be null | Root Workflow |
runOn | string |
Optional | cannot be null | Root Workflow |
steps | array |
Required | cannot be null | Root Workflow |
type | string |
Required | cannot be null | Root Workflow |
version | string |
Required | cannot be null | Root Workflow |
$schema
The JSON schema URI that this document conforms to
$schema
-
is optional
-
Type:
string
(Schema URI) -
cannot be null
-
defined in: Root Workflow
$schema Type
string
(Schema URI)
$schema Constraints
URI: the string must be a URI, according to RFC 3986
$schema Examples
condition
A JMESPath expression that evaluates to a boolean value
condition
-
is optional
-
Type:
string
(Condition) -
cannot be null
-
defined in: Root Workflow
condition Type
string
(Condition)
condition Examples
config
Configuration settings for a workflow execution
config
-
is required
-
Type:
object
(Workflow Configuration) -
cannot be null
-
defined in: Root Workflow
config Type
object
(Workflow Configuration)
continueOnError
Whether to continue workflow execution if this step fails. When true, workflow will proceed to next step even if current step fails.
continueOnError
-
is optional
-
Type:
boolean
(Continue On Error) -
cannot be null
-
defined in: Root Workflow
continueOnError Type
boolean
(Continue On Error)
continueOnError Examples
cron
cron
-
is optional
-
Type:
object[]
(Cron Configuration) -
cannot be null
-
defined in: Root Workflow
cron Type
object[]
(Cron Configuration)
delay
Delay in seconds before executing this step. Useful for rate limiting or scheduling steps to run after a certain time.
delay
-
is optional
-
Type:
number
(Execution Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Execution Delay)
delay Constraints
minimum: the value of this number must greater than or equal to: 0
delay Examples
description
description
-
is optional
-
Type:
string
-
cannot be null
-
defined in: Root Workflow
description Type
string
hideForExecution
hideForExecution
-
is optional
-
Type:
boolean
-
cannot be null
-
defined in: Root Workflow
hideForExecution Type
boolean
id
Unique identifier for the workflow
id
-
is required
-
Type:
string
(ID) -
cannot be null
-
defined in: Root Workflow
id Type
string
(ID)
id Constraints
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
id Examples
name
Human-readable name for this step
name
-
is required
-
Type:
string
(Step Name) -
cannot be null
-
defined in: Root Workflow
name Type
string
(Step Name)
name Constraints
maximum length: the maximum number of characters for this string is: 100
minimum length: the minimum number of characters for this string is: 1
name Examples
parameterSchema
parameterSchema
-
is optional
-
Type:
object
(Details) -
cannot be null
-
defined in: Root Workflow
parameterSchema Type
object
(Details)
parameters
Key-value pairs of parameters to pass to the step during execution. Supports dynamic values through JMESPath expressions enclosed in double curly braces. Parameters are specific to each step type and implementation.
parameters
-
is required
-
Type:
object
(Step Parameters) -
cannot be null
-
defined in: Root Workflow
parameters Type
object
(Step Parameters)
parameters Default Value
The default value is:
repeatConfig
Optional settings for repeating the step execution multiple times. Null if not repeating.
repeatConfig
-
is optional
-
Type: merged type (Repeat Configuration)
-
cannot be null
-
defined in: Root Workflow
repeatConfig Type
merged type (Repeat Configuration)
any of
retryConfig
Retry behavior configuration when step fails
retryConfig
-
is optional
-
Type: merged type (Retry Configuration)
-
cannot be null
-
defined in: Root Workflow
retryConfig Type
merged type (Retry Configuration)
any of
runOn
Types of entities that workflows can operate on
runOn
-
is optional
-
Type:
string
(Entity Type) -
cannot be null
-
defined in: Root Workflow
runOn Type
string
(Entity Type)
runOn Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"global" |
|
"device" |
|
"interface" |
|
"group" |
|
"client" |
steps
The sequence of steps that comprise this workflow. Each step can be a function block, embedded workflow, or reference to another workflow. At least one step is required.
steps
-
is required
-
Type:
object[]
(Workflow Step) -
cannot be null
-
defined in: Root Workflow
steps Type
object[]
(Workflow Step)
steps Constraints
minimum number of items: the minimum number of items for this array is: 1
type
The type of workflow step. For workflows this is always "workflow"
type
-
is required
-
Type:
string
(Type) -
cannot be null
-
defined in: Root Workflow
type Type
string
(Type)
type Constraints
constant: the value of this property must be equal to:
type Examples
version
Semantic version of the workflow
version
-
is required
-
Type:
string
(Version) -
cannot be null
-
defined in: Root Workflow
version Type
string
(Version)
version Constraints
pattern: the string must match the following regular expression:
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
version Default Value
The default value is:
version Examples
Root Workflow Definitions
Definitions group Condition
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
Definitions group CronConfiguration
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
concurrency | boolean |
Required | cannot be null | Root Workflow |
condition | string |
Optional | cannot be null | Root Workflow |
crontab | object |
Required | cannot be null | Root Workflow |
description | string |
Required | cannot be null | Root Workflow |
enabled | boolean |
Required | cannot be null | Root Workflow |
parameters | object |
Required | cannot be null | Root Workflow |
query | string |
Required | cannot be null | Root Workflow |
title | string |
Required | cannot be null | Root Workflow |
concurrency
Whether multiple instances of this scheduled job can run simultaneously
concurrency
-
is required
-
Type:
boolean
(Allow Concurrency) -
cannot be null
-
defined in: Root Workflow
concurrency Type
boolean
(Allow Concurrency)
concurrency Examples
condition
A JMESPath expression that evaluates to a boolean value
condition
-
is optional
-
Type:
string
(Condition) -
cannot be null
-
defined in: Root Workflow
condition Type
string
(Condition)
condition Constraints
minimum length: the minimum number of characters for this string is: 1
pattern: the string must match the following regular expression:
condition Examples
crontab
Configuration for cron-style scheduling following standard cron syntax with seconds precision.
crontab
-
is required
-
Type:
object
(Crontab Configuration) -
cannot be null
-
defined in: Root Workflow
crontab Type
object
(Crontab Configuration)
crontab Examples
{
"dayOfMonth": "*",
"dayOfWeek": "1-5",
"hour": "9",
"minute": "30",
"month": "*",
"second": "0",
"timezone": "America/New_York"
}
description
Human-readable description of this scheduled job
description
-
is required
-
Type:
string
(Description) -
cannot be null
-
defined in: Root Workflow
description Type
string
(Description)
description Constraints
maximum length: the maximum number of characters for this string is: 500
minimum length: the minimum number of characters for this string is: 1
description Examples
enabled
Whether this scheduled job is active and should be executed
enabled
-
is required
-
Type:
boolean
(Enabled) -
cannot be null
-
defined in: Root Workflow
enabled Type
boolean
(Enabled)
enabled Examples
parameters
Key-value pairs of parameters that will be passed to the workflow execution
parameters
-
is required
-
Type:
object
(Execution Parameters) -
cannot be null
-
defined in: Root Workflow
parameters Type
object
(Execution Parameters)
parameters Constraints
minimum number of properties: the minimum number of properties for this object is: 1
parameters Examples
query
Represents an Elasticsearch query in string format.
query
-
is required
-
Type:
string
(Elasticsearch Query) -
cannot be null
-
defined in: Root Workflow
query Type
string
(Elasticsearch Query)
query Examples
title
Human-readable title for this scheduled job
title
-
is required
-
Type:
string
(Job Title) -
cannot be null
-
defined in: Root Workflow
title Type
string
(Job Title)
title Constraints
maximum length: the maximum number of characters for this string is: 100
minimum length: the minimum number of characters for this string is: 1
title Examples
Definitions group CrontabConfiguration
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
dayOfMonth | string |
Required | cannot be null | Root Workflow |
dayOfWeek | string |
Required | cannot be null | Root Workflow |
hour | string |
Required | cannot be null | Root Workflow |
minute | string |
Required | cannot be null | Root Workflow |
month | string |
Required | cannot be null | Root Workflow |
second | string |
Required | cannot be null | Root Workflow |
timezone | string |
Required | cannot be null | Root Workflow |
dayOfMonth
Specifies the day of month (1-31) when the workflow should run. Supports standard cron syntax.
dayOfMonth
-
is required
-
Type:
string
(Day of Month) -
cannot be null
-
defined in: Root Workflow
dayOfMonth Type
string
(Day of Month)
dayOfWeek
Specifies the day of week (0-6 where 0=Sunday) when the workflow should run. Supports standard cron syntax.
dayOfWeek
-
is required
-
Type:
string
(Day of Week) -
cannot be null
-
defined in: Root Workflow
dayOfWeek Type
string
(Day of Week)
hour
Specifies the hours (0-23) when the workflow should run. Supports standard cron syntax.
hour
-
is required
-
Type:
string
(Hours) -
cannot be null
-
defined in: Root Workflow
hour Type
string
(Hours)
minute
Specifies the minutes (0-59) when the workflow should run. Supports standard cron syntax.
minute
-
is required
-
Type:
string
(Minutes) -
cannot be null
-
defined in: Root Workflow
minute Type
string
(Minutes)
month
Specifies the month (1-12) when the workflow should run. Supports standard cron syntax.
month
-
is required
-
Type:
string
(Month) -
cannot be null
-
defined in: Root Workflow
month Type
string
(Month)
month Examples
second
Specifies the seconds (0-59) when the workflow should run. Supports standard cron syntax including:
-
- (any value)
- , (value list separator)
-
- (range of values)
- / (step values)
second
-
is required
-
Type:
string
(Seconds) -
cannot be null
-
defined in: Root Workflow
second Type
string
(Seconds)
timezone
Represents a timezone identifier in IANA Time Zone Database format
timezone
-
is required
-
Type:
string
(Timezone) -
cannot be null
-
defined in: Root Workflow
timezone Type
string
(Timezone)
timezone Constraints
unknown format: the value of this string must follow the format: timezone
timezone Examples
Definitions group ElasticQuery
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
Definitions group EntityType
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
Definitions group ParametrizedFunctionBlock
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
condition | string |
Optional | cannot be null | Root Workflow |
continueOnError | boolean |
Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
functionBlockId | string |
Required | cannot be null | Root Workflow |
id | string |
Required | cannot be null | Root Workflow |
name | string |
Required | cannot be null | Root Workflow |
parameters | object |
Required | cannot be null | Root Workflow |
repeatConfig | Merged | Optional | cannot be null | Root Workflow |
retryConfig | Merged | Optional | cannot be null | Root Workflow |
runOn | string |
Optional | cannot be null | Root Workflow |
type | string |
Required | cannot be null | Root Workflow |
condition
A JMESPath expression that evaluates to a boolean value
condition
-
is optional
-
Type:
string
(Condition) -
cannot be null
-
defined in: Root Workflow
condition Type
string
(Condition)
condition Examples
continueOnError
Whether to continue workflow execution if this step fails. When true, workflow will proceed to next step even if current step fails.
continueOnError
-
is optional
-
Type:
boolean
(Continue On Error) -
cannot be null
-
defined in: Root Workflow
continueOnError Type
boolean
(Continue On Error)
continueOnError Examples
delay
Delay in seconds before executing this step. Useful for rate limiting or scheduling steps to run after a certain time.
delay
-
is optional
-
Type:
number
(Execution Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Execution Delay)
delay Constraints
minimum: the value of this number must greater than or equal to: 0
delay Examples
functionBlockId
Fully qualified function block identifier in format "package/name:version". Must match the pattern.
functionBlockId
-
is required
-
Type:
string
(Function Block ID) -
cannot be null
-
defined in: Root Workflow
functionBlockId Type
string
(Function Block ID)
functionBlockId Constraints
pattern: the string must match the following regular expression:
functionBlockId Examples
id
Unique identifier for this step configuration. Set explicitly to access the result object on a subsequent step.
id
-
is required
-
Type:
string
(Step ID) -
cannot be null
-
defined in: Root Workflow
id Type
string
(Step ID)
id Default Value
The default value is:
id Examples
name
Human-readable name for this step
name
-
is required
-
Type:
string
(Step Name) -
cannot be null
-
defined in: Root Workflow
name Type
string
(Step Name)
name Constraints
maximum length: the maximum number of characters for this string is: 100
minimum length: the minimum number of characters for this string is: 1
name Examples
parameters
Key-value pairs of parameters to pass to the step during execution. Supports dynamic values through JMESPath expressions enclosed in double curly braces. Parameters are specific to each step type and implementation.
parameters
-
is required
-
Type:
object
(Step Parameters) -
cannot be null
-
defined in: Root Workflow
parameters Type
object
(Step Parameters)
parameters Default Value
The default value is:
repeatConfig
Optional settings for repeating the step execution multiple times. Null if not repeating.
repeatConfig
-
is optional
-
Type: merged type (Repeat Configuration)
-
cannot be null
-
defined in: Root Workflow
repeatConfig Type
merged type (Repeat Configuration)
any of
retryConfig
Retry behavior configuration when step fails
retryConfig
-
is optional
-
Type: merged type (Retry Configuration)
-
cannot be null
-
defined in: Root Workflow
retryConfig Type
merged type (Retry Configuration)
any of
runOn
Types of entities that workflows can operate on
runOn
-
is optional
-
Type:
string
(Entity Type) -
cannot be null
-
defined in: Root Workflow
runOn Type
string
(Entity Type)
runOn Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"global" |
|
"device" |
|
"interface" |
|
"group" |
|
"client" |
type
Type discriminator for workflow steps. Must be "functionBlock" for this type.
type
-
is required
-
Type:
string
(Type) -
cannot be null
-
defined in: Root Workflow
type Type
string
(Type)
type Constraints
constant: the value of this property must be equal to:
type Examples
Definitions group RepeatConfiguration
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
condition | Merged | Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
repeats | number |
Optional | cannot be null | Root Workflow |
condition
Condition that must remain true for repeating to continue (overrides repeats count)
condition
-
is optional
-
Type: merged type (Repeat Condition)
-
cannot be null
-
defined in: Root Workflow
condition Type
merged type (Repeat Condition)
any of
delay
Delay in seconds between iterations
delay
-
is optional
-
Type:
number
(Iteration Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Iteration Delay)
delay Constraints
maximum: the value of this number must smaller than or equal to: 600
minimum: the value of this number must greater than or equal to: 0
delay Examples
repeats
Fixed number of times to repeat the operation
repeats
-
is optional
-
Type:
number
(Repeats Count) -
cannot be null
-
defined in: Root Workflow
repeats Type
number
(Repeats Count)
repeats Constraints
maximum: the value of this number must smaller than or equal to: 100
minimum: the value of this number must greater than or equal to: 1
repeats Examples
Definitions group RetryConfiguration
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
condition | Merged | Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
maxRetries | number |
Required | cannot be null | Root Workflow |
condition
Optional JMESPath condition that must be true to allow retry
condition
-
is optional
-
Type: merged type (Retry Condition)
-
cannot be null
-
defined in: Root Workflow
condition Type
merged type (Retry Condition)
any of
delay
Optional delay in seconds between retry attempts
delay
-
is optional
-
Type:
number
(Retry Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Retry Delay)
delay Constraints
maximum: the value of this number must smaller than or equal to: 600
minimum: the value of this number must greater than or equal to: 0
delay Examples
maxRetries
Maximum number of retry attempts (1-100)
maxRetries
-
is required
-
Type:
number
(Max Retries) -
cannot be null
-
defined in: Root Workflow
maxRetries Type
number
(Max Retries)
maxRetries Constraints
maximum: the value of this number must smaller than or equal to: 100
minimum: the value of this number must greater than or equal to: 1
maxRetries Examples
Definitions group Timezone
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
Definitions group Workflow
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
condition | string |
Optional | cannot be null | Root Workflow |
config | object |
Required | cannot be null | Root Workflow |
continueOnError | boolean |
Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
id | string |
Required | cannot be null | Root Workflow |
name | string |
Required | cannot be null | Root Workflow |
parameters | object |
Required | cannot be null | Root Workflow |
repeatConfig | Merged | Optional | cannot be null | Root Workflow |
retryConfig | Merged | Optional | cannot be null | Root Workflow |
runOn | string |
Optional | cannot be null | Root Workflow |
steps | array |
Required | cannot be null | Root Workflow |
type | string |
Required | cannot be null | Root Workflow |
condition
A JMESPath expression that evaluates to a boolean value
condition
-
is optional
-
Type:
string
(Condition) -
cannot be null
-
defined in: Root Workflow
condition Type
string
(Condition)
condition Examples
config
Configuration settings for a workflow execution
config
-
is required
-
Type:
object
(Workflow Configuration) -
cannot be null
-
defined in: Root Workflow
config Type
object
(Workflow Configuration)
continueOnError
Whether to continue workflow execution if this step fails. When true, workflow will proceed to next step even if current step fails.
continueOnError
-
is optional
-
Type:
boolean
(Continue On Error) -
cannot be null
-
defined in: Root Workflow
continueOnError Type
boolean
(Continue On Error)
continueOnError Examples
delay
Delay in seconds before executing this step. Useful for rate limiting or scheduling steps to run after a certain time.
delay
-
is optional
-
Type:
number
(Execution Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Execution Delay)
delay Constraints
minimum: the value of this number must greater than or equal to: 0
delay Examples
id
Unique identifier for this step configuration. Set explicitly to access the result object on a subsequent step.
id
-
is required
-
Type:
string
(Step ID) -
cannot be null
-
defined in: Root Workflow
id Type
string
(Step ID)
id Default Value
The default value is:
id Examples
name
Human-readable name for this step
name
-
is required
-
Type:
string
(Step Name) -
cannot be null
-
defined in: Root Workflow
name Type
string
(Step Name)
name Constraints
maximum length: the maximum number of characters for this string is: 100
minimum length: the minimum number of characters for this string is: 1
name Examples
parameters
Key-value pairs of parameters to pass to the step during execution. Supports dynamic values through JMESPath expressions enclosed in double curly braces. Parameters are specific to each step type and implementation.
parameters
-
is required
-
Type:
object
(Step Parameters) -
cannot be null
-
defined in: Root Workflow
parameters Type
object
(Step Parameters)
parameters Default Value
The default value is:
repeatConfig
Optional settings for repeating the step execution multiple times. Null if not repeating.
repeatConfig
-
is optional
-
Type: merged type (Repeat Configuration)
-
cannot be null
-
defined in: Root Workflow
repeatConfig Type
merged type (Repeat Configuration)
any of
retryConfig
Retry behavior configuration when step fails
retryConfig
-
is optional
-
Type: merged type (Retry Configuration)
-
cannot be null
-
defined in: Root Workflow
retryConfig Type
merged type (Retry Configuration)
any of
runOn
Types of entities that workflows can operate on
runOn
-
is optional
-
Type:
string
(Entity Type) -
cannot be null
-
defined in: Root Workflow
runOn Type
string
(Entity Type)
runOn Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"global" |
|
"device" |
|
"interface" |
|
"group" |
|
"client" |
steps
The sequence of steps that comprise this workflow. Each step can be a function block, embedded workflow, or reference to another workflow. At least one step is required.
steps
-
is required
-
Type:
object[]
(Workflow Step) -
cannot be null
-
defined in: Root Workflow
steps Type
object[]
(Workflow Step)
steps Constraints
minimum number of items: the minimum number of items for this array is: 1
type
The type of workflow step. For workflows this is always "workflow"
type
-
is required
-
Type:
string
(Type) -
cannot be null
-
defined in: Root Workflow
type Type
string
(Type)
type Constraints
constant: the value of this property must be equal to:
type Examples
Definitions group WorkflowConfig
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
executionStrategy | object |
Required | cannot be null | Root Workflow |
executionStrategy
Defines how a workflow should be executed
executionStrategy
-
is required
-
Type:
object
(Workflow Execution Strategy) -
cannot be null
-
defined in: Root Workflow
executionStrategy Type
object
(Workflow Execution Strategy)
Definitions group WorkflowExecutionStrategy
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
notYetImplemented | string |
Optional | cannot be null | Root Workflow |
notYetImplemented
notYetImplemented
-
is optional
-
Type:
string
(not yet implemented) -
cannot be null
-
defined in: Root Workflow
notYetImplemented Type
string
(not yet implemented)
Definitions group WorkflowReference
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
condition | string |
Optional | cannot be null | Root Workflow |
continueOnError | boolean |
Optional | cannot be null | Root Workflow |
delay | number |
Optional | can be null | Root Workflow |
id | string |
Required | cannot be null | Root Workflow |
name | string |
Required | cannot be null | Root Workflow |
parameters | object |
Required | cannot be null | Root Workflow |
repeatConfig | Merged | Optional | cannot be null | Root Workflow |
retryConfig | Merged | Optional | cannot be null | Root Workflow |
runOn | string |
Optional | cannot be null | Root Workflow |
strategy | string |
Required | cannot be null | Root Workflow |
type | string |
Required | cannot be null | Root Workflow |
workflowId | string |
Required | cannot be null | Root Workflow |
condition
A JMESPath expression that evaluates to a boolean value
condition
-
is optional
-
Type:
string
(Condition) -
cannot be null
-
defined in: Root Workflow
condition Type
string
(Condition)
condition Examples
continueOnError
Whether to continue workflow execution if this step fails. When true, workflow will proceed to next step even if current step fails.
continueOnError
-
is optional
-
Type:
boolean
(Continue On Error) -
cannot be null
-
defined in: Root Workflow
continueOnError Type
boolean
(Continue On Error)
continueOnError Examples
delay
Delay in seconds before executing this step. Useful for rate limiting or scheduling steps to run after a certain time.
delay
-
is optional
-
Type:
number
(Execution Delay) -
can be null
-
defined in: Root Workflow
delay Type
number
(Execution Delay)
delay Constraints
minimum: the value of this number must greater than or equal to: 0
delay Examples
id
Unique identifier for this step configuration. Set explicitly to access the result object on a subsequent step.
id
-
is required
-
Type:
string
(Step ID) -
cannot be null
-
defined in: Root Workflow
id Type
string
(Step ID)
id Default Value
The default value is:
id Examples
name
Human-readable name for this step
name
-
is required
-
Type:
string
(Step Name) -
cannot be null
-
defined in: Root Workflow
name Type
string
(Step Name)
name Constraints
maximum length: the maximum number of characters for this string is: 100
minimum length: the minimum number of characters for this string is: 1
name Examples
parameters
Key-value pairs of parameters to pass to the step during execution. Supports dynamic values through JMESPath expressions enclosed in double curly braces. Parameters are specific to each step type and implementation.
parameters
-
is required
-
Type:
object
(Step Parameters) -
cannot be null
-
defined in: Root Workflow
parameters Type
object
(Step Parameters)
parameters Default Value
The default value is:
repeatConfig
Optional settings for repeating the step execution multiple times. Null if not repeating.
repeatConfig
-
is optional
-
Type: merged type (Repeat Configuration)
-
cannot be null
-
defined in: Root Workflow
repeatConfig Type
merged type (Repeat Configuration)
any of
retryConfig
Retry behavior configuration when step fails
retryConfig
-
is optional
-
Type: merged type (Retry Configuration)
-
cannot be null
-
defined in: Root Workflow
retryConfig Type
merged type (Retry Configuration)
any of
runOn
Types of entities that workflows can operate on
runOn
-
is optional
-
Type:
string
(Entity Type) -
cannot be null
-
defined in: Root Workflow
runOn Type
string
(Entity Type)
runOn Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"global" |
|
"device" |
|
"interface" |
|
"group" |
|
"client" |
strategy
Execution strategy for referenced workflow
strategy
-
is required
-
Type:
string
(Execution Strategy) -
cannot be null
-
defined in: Root Workflow
strategy Type
string
(Execution Strategy)
strategy Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"dispatch" |
|
"embed" |
strategy Examples
type
The type discriminator for this workflow step
type
-
is required
-
Type:
string
(Step Type) -
cannot be null
-
defined in: Root Workflow
type Type
string
(Step Type)
type Constraints
constant: the value of this property must be equal to:
type Examples
workflowId
The ID of the workflow being referenced
workflowId
-
is required
-
Type:
string
(Referenced Workflow ID) -
cannot be null
-
defined in: Root Workflow
workflowId Type
string
(Referenced Workflow ID)
workflowId Constraints
minimum length: the minimum number of characters for this string is: 1
workflowId Examples
Definitions group WorkflowStep
Reference this group by using
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | Not specified | Required | cannot be null | Root Workflow |
type
type
-
is required
-
Type: unknown
-
cannot be null
-
defined in: Root Workflow
type Type
unknown
type Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"workflow" |
|
"workflowReference" |
|
"functionBlock" |