BUSINESS SCENARIO
- Consider a internal requisition transaction
- Employees raise requisitions for purchasing the required material
1. For any requisition above Rs. 1 Lac the workflow should trigger
2. A notification should then be sent to concerned manager asking for his APPROVAL to proceed
3. if the manager approves the requisition the data should be recorded in custom table with status “APPROVED”
4. Else a notification should be sent to Employee about the rejection of his requisition and
5. The data for that requisition should also be recorded in table with the status of “REJECTED”
6. Workflow should end
PAPERWORK
Take a piece of paper and start drawing literally a flow chart of the business process.
Believe me, your 60% work is done once you have enclosed the required business logic in a flow chart.
Following is the flowchart which depict our business scenario.
Just to give you an idea, our workflow diagram will look as follows.
You can see the resemblance of below WF diagram with the one we did on paper.
No comments:
Post a Comment