diff --git a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-architecture.md b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-architecture.md index 0d860c7b8..058754d08 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-architecture.md +++ b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-architecture.md @@ -16,6 +16,8 @@ For information on how to author workflows that are executed by the Dapr workflo The Dapr Workflow engine is internally implemented using then open source [durabletask-go](https://github.com/microsoft/durabletask-go) library, which is embedded directly into the Dapr sidecar. Dapr implements a custom durable task "backend" using internally managed actors, which manage workflow scale-out, persistence, and leader election. This article will go into more details in subsequent sections. +Diagram showing how the workflow architecture works in Kubernetes mode + ## Sidecar interactions TODO: Describe the gRPC protocol used in the SDK/sidecar interactions. Make sure to also emphasize the responsibilities of the app vs. the responsibilities of the sidecar. diff --git a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-overview.md b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-overview.md index 570bd6c53..47dede183 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-overview.md +++ b/daprdocs/content/en/developing-applications/building-blocks/workflow/workflow-overview.md @@ -18,6 +18,9 @@ The durable, resilient Dapr Workflow API: - Offers a built-in workflow runtime to write Dapr workflows (of type `workflow.dapr`) - Will integrate with future supported external workflow runtime components +Diagram showing basics of Dapr workflows + + The Workflow building block can assist with scenarios like: - Order processing involving inventory management, payment systems, shipping, etc. - HR onboarding workflows coordinating tasks across multiple departments and participatns @@ -32,7 +35,6 @@ The Dapr Workflow engine runs in the Dapr sidecar and consists of: The workflow engine is internally powered by Dapr's actor runtime. In the following diagram demonstrates the Dapr Workflow architecture in Kubernetes mode: -Diagram showing how the workflow architecture works in Kubernetes mode Essentially, to use the Dapr Workflow building block, you write workflow code in your application using the SDK and connect to the sidecar using gRPC stream. This will register the workflow and any workflow activities, or tasks that workflows can schedule. diff --git a/daprdocs/static/images/workflow-overview/workflow-overview.png b/daprdocs/static/images/workflow-overview/workflow-overview.png new file mode 100644 index 000000000..0e65dde09 Binary files /dev/null and b/daprdocs/static/images/workflow-overview/workflow-overview.png differ