Simple Workflow Service (SWF)

Get introduced to Simple Workflow Service (SWF).

We'll cover the following

What is SWF?

It is a web service that makes it easy to coordinate work across distributed application components.

Think about an expense report that you submit. It may require a report that you submit. It may require 3 approvals you submit. This would be the job of SWS, you can create a workflow to get approval from manager 1 and then send it for approval to manager 2 and then 3. When the workflow is completed it could even trigger an email notification to you.

SQS is message-oriented and SWS is task-oriented.

SWS – Actors: Workflow Starters – an application that can initiate a workflow. Example: your expense reporting tool. When you hit the “submit” button.

Workflow Decider: Control the flow of activity tasks in a workflow execution. i.e. if a task is finished in a workflow or if it fails the decider, decides what to do next.

Activity Workers carry out the activity tasks.

Get hands-on with 1200+ tech skills courses.