Video

Demo: Simplified Workflow Step Syntax

1 minute read

About this video

Introducing Akka's New (Simple!) Workflow Step Syntax

The Akka SDK provides a Workflow component for building long-running orchestrations. Workflows in Akka can manage any kind of long-running process, whether it's an agent, background processes, or other systems. The Workflow agent implicitly has its own memory so that the state of the workflow and the class stack is durably saved after each step. Workflows have built in failover and retry mechanisms so that you can steer every process to an outcome.

Workflows define a series of steps, each of which can perform some actions. With the most recent Akka SDK release, we've introduced the ability to implement Workflow Steps using StepEffects(), a technique to allow application developers to give instructions to the Akka runtime for execution. Writing Steps is particularly easy and also brings type safety to the structure of the actions to simplify testing and refactoring of Workflows.

This demo from Akka Product Manager Kevin Hoffman walks through the process of converting a wallet that can support deposits and withdrawals into a Workflow with steps to manage each of the tasks while maintaining resilience and compensation for system disruptions.

Related items

When AI Needs an SLA