From 448d0de43e603948aaea8eaa58c4a4cab0fdfa47 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Tue, 12 Sep 2023 18:03:42 -0400 Subject: [PATCH] add activities Signed-off-by: Hannah Hunter --- .../building-blocks/workflow/howto-manage-workflow.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/daprdocs/content/en/developing-applications/building-blocks/workflow/howto-manage-workflow.md b/daprdocs/content/en/developing-applications/building-blocks/workflow/howto-manage-workflow.md index 27d5d75cb..0bc194302 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/workflow/howto-manage-workflow.md +++ b/daprdocs/content/en/developing-applications/building-blocks/workflow/howto-manage-workflow.md @@ -100,6 +100,14 @@ await daprClient.PurgeWorkflowAsync(orderId, workflowComponent); Manage your workflow within your code. In the workflow example from the [Author a workflow]({{< ref "howto-author-workflow.md#write-the-application" >}}) guide, the workflow is registered in the code using the following APIs: +- **raiseEvent**: Raise an event on a workflow +- **getInstanceMetadata**: Get information on the status of the workflow +- **waitForInstanceStart**: Pauses or suspends a workflow instance that can later be resumed +- **waitForInstanceCompletion**: Resumes a paused workflow instance and waits for completion +- **createTaskHub** +- **deleteTaskHub** +- **purgeInstance**: Removes all metadata related to a specific workflow + ```java todo ```