You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -674,7 +674,7 @@ a workflow with a single event state and show how data filters can be combined.
674
674
}],
675
675
"stateDataFilter": {
676
676
"input": "${ .greetings } ",
677
-
"output": "${ .finalCustomerGreeting }"
677
+
"output": "${ { finalCustomerGreeting } }"
678
678
},
679
679
"end": true
680
680
}
@@ -1785,7 +1785,7 @@ definition "id" must be a constant value.
1785
1785
| autoRetries | If set to true, [actions](#Action-Definition) should automatically be retried on unchecked errors. Default is false | boolean| no |
1786
1786
| [retries](#Retry-Definition) | Workflow retries definitions. Can be either inline retries definitions (if array) or URI pointing to a resource containing json/yaml retry definitions (if string) | array or string| no |
1787
1787
| [states](#Workflow-States) | Workflow states | array | yes |
1788
-
| [extensions](#Workflow-Extensions) | Workflow extensions definitions | array or string | no |
1788
+
| [extensions](#Extensions) | Workflow extensions definitions | array or string | no |
1789
1789
| [metadata](#Workflow-Metadata) | Metadata information | object | no |
1790
1790
1791
1791
<details><summary><strong>Click to view example definition</strong></summary>
@@ -3342,7 +3342,7 @@ that triggers workflow instance creation, or continuation of workflow instance e
3342
3342
that the workflow instance creates during its execution (produced).
3343
3343
The default value (if not specified) of the `kind` property is `consumed`.
3344
3344
Note that for `produced` event definitions, implementations must provide the value of the CloudEvent source attribute.
3345
-
In this case (i.e., when the `kind` property is set to `produced`), the `source` property of the event definition is not required.
3345
+
In this case (i.e., when the `kind` property is set to `produced`), the `source` property of the event is not required in the workflow definition.
3346
3346
Otherwise, (i.e., when the `kind` property is set to `consumed`), the `source` property must be defined in the event definition.
3347
3347
3348
3348
Event correlation plays a big role in large event-driven applications. Correlating one or more events with a particular workflow instance
@@ -3539,7 +3539,7 @@ See [here](https://oauth.net/2/) for more information about OAuth2 Authenticatio
3539
3539
| password | String or a workflow expression. Contains the user password. Used only if grantType is 'resourceOwner' | string | no |
3540
3540
| audiences | Array containing strings or workflow expressions. Contains the OAuth2 audiences | array | no |
3541
3541
| subjectToken | String or a workflow expression. Contains the subject token | string | no |
3542
-
| requestedSubject | String or a workflow expression. Contains the client identifier | string | no |
3542
+
| requestedSubject | String or a workflow expression. Contains the requested subject | string | no |
3543
3543
| requestedIssuer | String or a workflow expression. Contains the requested issuer | string | no |
3544
3544
| [metadata](#Workflow-Metadata) | Metadata information| object | no |
3545
3545
@@ -3594,7 +3594,7 @@ correlation:
3594
3594
Used to define event correlation rules. Only usable for `consumed` event definitions.
3595
3595
3596
3596
The `contextAttributeName` property defines the name of the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes).
3597
-
The `contextAttributeValue` property defines the value of the defined the CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes).
3597
+
The `contextAttributeValue` property defines the value of the defined CloudEvent [extension context attribute](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#extension-context-attributes).
3598
3598
3599
3599
##### OnEvents Definition
3600
3600
@@ -3704,7 +3704,7 @@ This is visualized in the diagram below:
3704
3704
| --- | --- | --- | --- |
3705
3705
| name | Unique Action name | string | no |
3706
3706
| [functionRef](#FunctionRef-Definition) | References a reusable function definition | object | yes if `eventRef` & `subFlowRef` are not defined |
3707
-
| [eventRef](#EventRef-Definition) | References a `trigger` and `result` reusable event definitions | object | yes if `functionRef` & `subFlowRef` are not defined |
3707
+
| [eventRef](#EventRef-Definition) | References a `produce` and `consume` reusable event definitions | object | yes if `functionRef` & `subFlowRef` are not defined |
3708
3708
| [subFlowRef](#SubFlowRef-Definition) | References a workflow to be invoked | object or string | yes if `eventRef` & `functionRef` are not defined |
3709
3709
| [retryRef](#retry-definition) | References a defined workflow retry definition. If not defined uses the default runtime retry definition | string | no |
3710
3710
| nonRetryableErrors | List of references to defined [workflow errors](#Defining Errors) for which the action should not be retried. Used only when `autoRetries` is set to `true` | array | no |
@@ -4111,7 +4111,7 @@ For more information, see the [Workflow Error Handling](#Workflow-Error-Handling
4111
4111
| --- | --- | --- | --- |
4112
4112
| name | Unique retry strategy name | string | yes |
4113
4113
| delay | Time delay between retry attempts (ISO 8601 duration format) | string | no |
4114
-
| maxAttempts | Maximum number of retry attempts. Value of 0 means no retries are performed | string or number | no |
4114
+
| maxAttempts | Maximum number of retry attempts. Value of 1 means no retries are performed | string or number | no |
4115
4115
| maxDelay | Maximum amount of delay between retry attempts (ISO 8601 duration format) | string | no |
4116
4116
| increment | Static duration which will be added to the delay between successive retries (ISO 8601 duration format) | string | no |
4117
4117
| multiplier | Float value by which the delay is multiplied before each attempt. For example: "1.2"meaning that each successive delay is 20% longer than the previous delay. For example, if delay is 'PT10S', then the delay between the first and second attempts will be 10 seconds, and the delay before the third attempt will be 12 seconds. | float or string | no |
@@ -4521,7 +4521,7 @@ If the start definition is of type `object`, it has the following structure:
4521
4521
| Parameter | Description | Type | Required |
4522
4522
| --- | --- | --- | --- |
4523
4523
| stateName | Name of the starting workflow state | object | no |
4524
-
| [schedule](#Schedule-Definition) | Define the recurring time intervals or cron expressions at which workflow instances should be automatically started. | object | yes |
4524
+
| [schedule](#Schedule-Definition) | Define the recurring time intervals or cron expressions at which workflow instances should be automatically started. | string or object | yes |
4525
4525
4526
4526
<details><summary><strong>Click to view example definition</strong></summary>
4527
4527
<p>
@@ -4537,7 +4537,7 @@ If the start definition is of type `object`, it has the following structure:
0 commit comments