mirror of https://github.com/dapr/docs.git
1.3 KiB
1.3 KiB
| type | title | linkTitle | weight | description |
|---|---|---|---|---|
| docs | How to: Manage workflows | How to: Manage workflows | 5000 | Manage and expose workflows |
Now that you've [set up the workflow and its activities in your application]({{< ref howto-author-workflow.md >}}), you can start, terminate, and get metadata status for the workflow using HTTP API calls. For more information, read the [workflow API reference]({{< ref workflow_api.md >}}).
{{% alert title="Note" color="primary" %}} If you haven't already, try out the workflow quickstart for a quick walk-through on how to use workflows.
{{% /alert %}}
Start workflow
To start your workflow, run:
POST http://localhost:3500/v1.0-alpha1/workflows/<workflowComponent>/<workflowName>/<instanceId>/start
Terminate workflow
To terminate your workflow, run:
POST http://localhost:3500/v1.0-alpha1/workflows/<workflowComponent>/<instanceId>/terminate
Get metadata for a workflow
To fetch workflow outputs and inputs, run:
GET http://localhost:3500/v1.0-alpha1/workflows/<workflowComponent>/<workflowName>/<instanceId>
Next steps
- Learn more about how to manage workflows with the .NET SDK and try out the .NET example