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
// ResultEventTimeout defines maximum amount of time (ISO 8601 format) to wait for the result event. If not defined it be set to the actionExecutionTimeout
// If string type, an expression which selects parts of the states data output to become the data (payload) of the event referenced by 'triggerEventRef'.
105
103
// If object type, a custom object to become the data (payload) of the event referenced by 'triggerEventRef'.
Copy file name to clipboardExpand all lines: model/event_state.go
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -16,32 +16,40 @@ package model
16
16
17
17
import (
18
18
"encoding/json"
19
+
"fmt"
19
20
)
20
21
21
22
// EventState used to wait for events from event sources, then consumes them and invoke one or more actions to run in sequence or parallel
22
23
typeEventStatestruct {
23
24
// TODO: EventState doesn't have usedForCompensation field.
24
25
BaseState
25
26
26
-
// If true consuming one of the defined events causes its associated actions to be performed. If false all of the defined events must be consumed in order for actions to be performed
27
+
// If true consuming one of the defined events causes its associated actions to be performed.
28
+
// If false all the defined events must be consumed in order for actions to be performed
27
29
// Defaults to true
28
30
Exclusivebool`json:"exclusive,omitempty"`
29
31
// Define the events to be consumed and optional actions to be performed
// If float type, maximum amount of random time added or subtracted from the delay between each retry relative to total delay (between 0 and 1). If string type, absolute maximum amount of random time added or subtracted from the delay between each retry (ISO 8601 duration format)
50
49
// TODO: make iso8601duration compatible this type
0 commit comments