Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ The SDK's `httpTransport` auto-injects `X-Keel-Workflow-Id` from the context on

Amend active workflow intent when estimates change, using `IfMatchVersion` for optimistic concurrency. Complete the workflow when the run finishes so Keel can reconcile actual calls. See the [Keel docs](https://docs.keelapi.com) for lifecycle and plan details.

Workflow intent is available on Business plans and above. A fuller runnable sample lives in [examples/workflows](examples/workflows).
Workflow intent is available on Business plans and above. A fuller runnable sample lives in [examples/workflows/main.go](examples/workflows/main.go).

Workflow APIs mirror the rest of the SDK:

Expand Down
2 changes: 1 addition & 1 deletion examples/workflows/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
fmt.Printf("Workflow %s completed with %d calls\n", completed.WorkflowID, completed.AuthoritativeActualCalls)
fmt.Printf("Final workflow state: status=%s calls=%d\n", completed.Status, completed.AuthoritativeActualCalls)
}

func valueOrZero(v *int) int {
Expand Down
Loading