Demo - NeoSOFT-Technologies/workflow-plugins GitHub Wiki
Instructions to run OrderItems workflow
Step 1: Open the terminal in the root folder and run the following command:
docker-compose up -d
Step 2: Open OrderItems API, Elsa and Smtp4dev on the following URLs
OrderItems API - http://localhost:5001/swagger/index.html
Elsa - http://localhost:8054/
Smtp4dev - http://localhost:3000/
Step 3: Execute the PlaceOrder endpoint with the following payload
{"orderCreatedON":"2022-04-27T13:37:18.661Z","items":[{"itemId":1,"itemName":"","quantity":0,"isAvailable":false,"itemOrderId":"","discount":0},{"itemId":3,"itemName":"","quantity":0,"isAvailable":false,"itemOrderId":"","discount":0},{"itemId":5,"itemName":"","quantity":0,"isAvailable":false,"itemOrderId":"","discount":0}]}
Step 4: Wait for its response
Step 5: Switch to the Elsa tab and click on workflow instances
Step 6: Click on the recently finished instance and then click on any activity or arrow in the top right corner
Step 7: Switch to the smtp4dev tab and open the recently received email