mirror of https://github.com/dapr/docs.git
1.2 KiB
1.2 KiB
type | title | linkTitle | weight | description |
---|---|---|---|---|
docs | How to: Manage your workflow | How to: Manage workflows | 2000 | manage your workflows |
Now that you've read about [the workflow building block]({{< ref workflow-overview >}}), learn more about how to manage a workflow.
When you run dapr init
, Dapr creates a default workflow runtime. This component is written in Go and implements workflow instances as actors to promote placement and scalability.
Run your workflow
Next, run your workflow using the following API methods. For more information, read the [workflow API reference]({{< ref workflow_api.md >}}).
Start
To start your workflow, run:
POST http://localhost:3500/v1.0/workflows/{workflowType}/{instanceId}/start
Terminate
To terminate your workflow, run:
POST http://localhost:3500/v1.0/workflows/{workflowType}/{instanceId}/terminate
Get metadata
To fetch workflow outputs and inputs, run:
GET http://localhost:3500/v1.0/workflows/{workflowType}/{instanceId}
Next steps
- Learn more about authoring workflows for the built-in engine component
- Learn more about supported workflow components