Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hannah Hunter <[email protected]>
Signed-off-by: Shivam Kumar <[email protected]>
  • Loading branch information
shivamkm07 and hhunter-ms authored Jan 26, 2024
1 parent 647f9ac commit b3d49db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions daprdocs/content/en/reference/api/workflow_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ POST http://localhost:3500/v1.0-beta1/workflows/<workflowComponentName>/<instanc
```

{{% alert title="Note" color="primary" %}}
Terminating a workflow will terminate all of the child workflows created by the workflow instance. This can be disabled by setting the query parameter `non_recursive` to `true`.
Terminating a workflow terminates all of the child workflows created by the workflow instance. You can disable this by setting the query parameter `non_recursive` to `true`.

Terminating a workflow will have no effect on any in-flight activity executions that were started by the terminated instance.
Terminating a workflow has no effect on any in-flight activity executions that were started by the terminated instance.

{{% /alert %}}

Expand All @@ -73,7 +73,7 @@ Parameter | Description
--------- | -----------
`workflowComponentName` | Use `dapr` for Dapr Workflows
`instanceId` | Unique value created for each run of a specific workflow
`non_recursive` | (Optional) Boolean to determine if Dapr should not recursively terminate child workflows created by the workflow instance, default value is false.
`non_recursive` | (Optional) Boolean to determine if Dapr should not recursively terminate child workflows created by the workflow instance. Default value is `false`.

### HTTP response codes

Expand Down Expand Up @@ -183,7 +183,7 @@ POST http://localhost:3500/v1.0-beta1/workflows/<workflowComponentName>/<instanc
```

{{% alert title="Note" color="primary" %}}
Purging a workflow will purge all of the child workflows created by the workflow instance. This can be disabled by setting the query parameter `non_recursive` to `true`.
Purging a workflow purges all of the child workflows created by the workflow instance. You can disable this by setting the query parameter `non_recursive` to `true`.

{{% /alert %}}

Expand All @@ -193,7 +193,7 @@ Parameter | Description
--------- | -----------
`workflowComponentName` | Use `dapr` for Dapr Workflows
`instanceId` | Unique value created for each run of a specific workflow
`non_recursive` | (Optional) Boolean to determine if Dapr should not recursively purge child workflows created by the workflow instance, default value is false.
`non_recursive` | (Optional) Boolean to determine if Dapr should not recursively purge child workflows created by the workflow instance. Default value is `false`.

### HTTP response codes

Expand Down

0 comments on commit b3d49db

Please sign in to comment.