-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathevent_constants.go
More file actions
50 lines (48 loc) · 1.79 KB
/
Copy pathevent_constants.go
File metadata and controls
50 lines (48 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package floxy
const (
// Event types
EventWorkflowStarted = "workflow_started"
EventWorkflowCompleted = "workflow_completed"
EventWorkflowFailed = "workflow_failed"
EventWorkflowCancelled = "workflow_cancelled"
EventWorkflowAborted = "workflow_aborted"
EventStepStarted = "step_started"
EventStepCompleted = "step_completed"
EventStepRetry = "step_retry"
EventStepFailed = "step_failed"
EventForkStarted = "fork_started"
EventJoinStateCreated = "join_state_created"
EventJoinCheck = "join_check"
EventJoinCompleted = "join_completed"
EventJoinUpdated = "join_updated"
EventJoinReady = "join_ready"
EventConditionCheck = "condition_check"
EventCancellationStarted = "cancellation_started"
EventAbortStarted = "abort_started"
EventDLQRequeued = "dlq_requeued"
EventStepSkippedMissingHandler = "step_skipped_missing_handler"
// Event data keys
KeyWorkflowID = "workflow_id"
KeyStepName = "step_name"
KeyStepType = "step_type"
KeyParallelSteps = "parallel_steps"
KeyJoinStep = "join_step"
KeyWaitingFor = "waiting_for"
KeyStrategy = "strategy"
KeyCompleted = "completed"
KeyFailed = "failed"
KeyIsReady = "is_ready"
KeyOutputs = "outputs"
KeyStatus = "status"
KeyRetryCount = "retry_count"
KeyError = "error"
KeyCompletedStep = "completed_step"
KeySuccess = "success"
KeyReason = "reason"
KeyResult = "result"
KeyDecision = "decision"
KeyDecidedBy = "decided_by"
KeyMessage = "message"
KeyRequestedBy = "requested_by"
KeyCancelType = "cancel_type"
)