-
Notifications
You must be signed in to change notification settings - Fork 44
Suspend Resume
shyamakirala edited this page Feb 23, 2016
·
5 revisions
Suspend/Resume: Consider a scenario where an user is getting created/registered in a system. The following steps will be carried out to create a user.
- Provide User details to system
- Validate User details
- The details would be sent to Admin for approval
- User would be created upon manual approval of Admin
This can be modelled using Flux. After getting and validating user details, a notification will be sent to Admin for approval, and the workflow will be suspended until Admin does an action. Once the admin approves the creation manually, an event will be raised which will resume the workflow.
The above scenario can be illustrated by below diagram.