Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign Order Workflow #8

Open
paulfryer opened this issue Oct 9, 2024 · 0 comments
Open

Sign Order Workflow #8

paulfryer opened this issue Oct 9, 2024 · 0 comments
Labels
create-workflow A request to create a new workflow

Comments

@paulfryer
Copy link
Contributor

paulfryer commented Oct 9, 2024

Workflow Description

Signing an order finalizes the order and makes it ready for fulfillment.

Workflow Visualization

Screenshot 2024-08-28 at 11 01 16 AM
Note: This diagram is showing Lambda, but the actual workflow should orchestrate over API Gateway.

Workflow Steps

Sequence Step Details
1 validate Validate data like taxes, inventory etc. in the order object, ensuring it is ready to be signed
2 signOrder This task is to update the order status to signed and updating the date/time of sign.
3 adjustAvailableInventory Update the inventory for the products in the order
4 saveOrder Save the order to the database - S3, DynamoDB etc.This step may also include index generation for list and search operations.
5 publishOrderEvents Publish ordering events like ORDER_PLACED.
6 startFulfillment Trigger fulfillment workflow

Dependent Events

  1. startFulfillment Event
  2. publishOrder Event
@paulfryer paulfryer added the create-workflow A request to create a new workflow label Oct 9, 2024
@paulfryer paulfryer assigned paulfryer and unassigned paulfryer Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-workflow A request to create a new workflow
Projects
Status: Backlog
Development

No branches or pull requests

1 participant