Flow

The flow for these two scenarios can be found in InsuranceTemplateWeb\src\definitions\processors\claimTrackFlow.transaction. There is a page which has a table on it to show the claim record. For each record, there are some buttons, "Details", "Feedback" and "Complain". Each button invokes a branch of the flow to show one model dialog and call some operations then return to the claim record page again. In the flow, the claim record page serves as the center and the three transactions "Details", "Feedback" and "Complain" can be viewed as three separate circles starts from and ends to the claim page. The model dialog is implemented by the client state, which can show the web content from the server in a dialog on web page. There are also several operations, responsible for getting the claim data, submitting the feedback and complaint.