Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Task, Choice, Wait, Parallel

This revision card explains Task, Choice, Wait, Parallel. It starts from the need that wrong state type makes the workflow hang or skip business rules. It describes task = do work (Lambda). Choice = if/else. Wait = pause. Parallel = run branches together. Fail/Succeed end the run. The how-to section notes map a happy path with Task + Choice; add Wait for human or timer; use Parallel only when branches are independent. An example on the card is choice on $.status == APPROVED goes to disburse Task; else goes to reject Succeed.

Task, Choice, Wait, Parallel Wrong state type makes the workflow hang or skip business rules. Task = do work (Lambda). Choice = if/else. Wait = pause. Parallel = run branches together. Fail/Succeed end the run. Map a happy path with Task + Choice; add Wait for human or timer; use Parallel only when branches are independent. Choice on $.status == APPROVED goes to disburse Task; else goes to reject
Task, Choice, Wait, Parallel · Download PNG
Read card text

What this card says

Why do we need it?

Wrong state type makes the workflow hang or skip business rules.

What is it?

Task = do work (Lambda). Choice = if/else. Wait = pause. Parallel = run branches together. Fail/Succeed end the run.

Task / Choice

How to do it

Map a happy path with Task + Choice; add Wait for human or timer; use Parallel only when branches are independent.

Example

Choice on $.status == APPROVED goes to disburse Task; else goes to reject Succeed.

See all AWS revision cards