Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ctrlaltdylan/0677ef8e65efed2140a6df4739cc733f to your computer and use it in GitHub Desktop.
Save ctrlaltdylan/0677ef8e65efed2140a6df4739cc733f to your computer and use it in GitHub Desktop.
Workflow polling example diagram
sequenceDiagram
participant Workflow
participant Service
autonumber
Workflow-)Service: POST /api/long-running-job
note over Workflow,Service: Create a long running job on the Service
rect rgb(82, 78, 183)
Workflow->Workflow: Delay
note left of Workflow: Delay 1 hour
end
Workflow->>Service: GET /api/job/status
note over Workflow,Service: Get the status of the long running job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment