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: roadmap/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ _Status description:_
27
27
| ✔️| Workflow "start" no longer a required property |[spec doc](https://github.com/serverlessworkflow/specification/blob/main/specification.md)|
28
28
| ✔️| ForEach state "iterationParam" no longer a required property |[spec doc](https://github.com/serverlessworkflow/specification/blob/main/specification.md)|
29
29
| ✔️| Added "useData" for eventDataFilter, and "useResults" for actionDataFilter |[spec doc](https://github.com/serverlessworkflow/specification/blob/main/specification.md)|
30
+
| ✔️| Added "resultEventTimeout" for action eventref |[spec doc](https://github.com/serverlessworkflow/specification/blob/main/specification.md)|
Copy file name to clipboardExpand all lines: specification.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1059,7 +1059,7 @@ workflow execution. They can be referenced by states [action definitions](#Actio
1059
1059
define when the service operations should be invoked during workflow execution, as well as the data parameters
1060
1060
passed to them if needed.
1061
1061
1062
-
Note that with Serverless Workflow, we can also define service invocations via events.
1062
+
Note that with Serverless Workflow, we can also define invocation of services which are triggered via an event.
1063
1063
To learn more about that, please reference the [event definitions](#Event-Definition) section,
1064
1064
as well as the [actions definitions](#Action-Definition) [eventRef](#EventRef-Definition) property.
1065
1065
@@ -3771,7 +3771,7 @@ Service invocation can be done in two different ways:
3771
3771
* Reference a sub-workflow invocation via the `subFlowRef` property.
3772
3772
3773
3773
In the event-based scenario a service, or a set of services we want to invoke
3774
-
are not exposed via a specific resource URI for example, but can only be invoked via events.
3774
+
are not exposed via a specific resource URI for example, but can only be invoked via an event.
3775
3775
The [eventRef](#EventRef-Definition) property defines the
3776
3776
referenced `produced` event via its `triggerEventRef` property and a `consumed` event via its `resultEventRef` property.
3777
3777
@@ -3890,6 +3890,7 @@ Here is an example of using the `arguments` property:
3890
3890
| --- | --- | --- | --- |
3891
3891
| [triggerEventRef](#Event-Definition) | Reference to the unique name of a `produced` event definition | string | yes |
3892
3892
| [resultEventRef](#Event-Definition) | Reference to the unique name of a `consumed` event definition | string | yes |
3893
+
| resultEventTimeout | Maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it be set to the [actionExecutionTimeout](#Workflow-Timeout-Definition) | string | no |
3893
3894
| data | If string type, an expression which selects parts of the states data output to become the data (payload) of the event referenced by `triggerEventRef`. If object type, a custom object to become the data (payload) of the event referenced by `triggerEventRef`. | string or object | no |
3894
3895
| contextAttributes | Add additional event extension context attributes to the trigger/produced event | object | no |
3895
3896
@@ -3938,6 +3939,10 @@ to be used as payload of the event referenced by `triggerEventRef`. If it is of
3938
3939
The `contextAttributes` property allows you to add one or more [extension context attributes](https://github.com/cloudevents/spec/blob/master/spec.md#extension-context-attributes)
3939
3940
to the trigger/produced event.
3940
3941
3942
+
The `resultEventTimeout` property defines the maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it should default to the [actionExecutionTimeout](#Workflow-Timeout-Definition).
3943
+
If the event defined by the `resultEventRef` property is not received in that set time, action invocation should raise an error
3944
+
that can be handled in the states `onErrors` definition.
3945
+
3941
3946
##### SubFlowRef Definition
3942
3947
3943
3948
`SubFlowRef`definition can have two types, namely `string` or `object`.
@@ -5374,7 +5379,7 @@ If `object` type, it is used to define the timeout definitions in-line and has t
5374
5379
| --- | --- | --- | --- |
5375
5380
| workflowExecTimeout | Workflow execution timeout (ISO 8601 duration format) | string or object | no |
5376
5381
| stateExecTimeout | Default workflow state execution timeout (ISO 8601 duration format) | string or object | no |
5377
-
| actionExecTimeouts | Default single actions definition execution timeout (ISO 8601 duration format) | string | no |
5382
+
| actionExecTimeout | Default single actions definition execution timeout (ISO 8601 duration format) | string | no |
5378
5383
| branchExecTimeout | Default single branch execution timeout (ISO 8601 duration format) | string | no |
5379
5384
| eventTimeout | Default timeout for consuming defined events (ISO 8601 duration format) | string | no |
0 commit comments