cost success Flow_0ifm5t8 Flow_1badwwt Flow_0j6qnak Flow_1e7wa3o pay_on_delivery pay_online Flow_1sfht9h Flow_196jf65 You can pay by Cash or Credit Card when the order is delivered. After this activity you'll be taken back to the main process. success = True Flow_0j6qnak Flow_1sfht9h Now you are inside the 'Handle Payment' call activity. This is an independent process model and can be called as part of any process. This process model is created to handle payment. > Click on the "Process Instance Id: ##" in the breadcrumbs at the top of the page to go to the Process Instance page. There click on the 'Food Ordering Process' to view the files related to this process. There you will see two .bpmn files > 1. food-ordering-process.bpmn - this is the BPMN file of the main process. > 2. handle-payment.bpmn - this is the BMPN file which is called from the 'Handle Payment' call activity > NOTE: The reusable process model file that you are calling from a call activity need not be placed inside the main process model. They can reside in a separate model (like a library) and it can be accessed from multiple process models. > In the BPMN editor, inorder to access the call activity model from the main model, click on the 'Handle Payment' call activity. Then in the properties panel on the right hand side click on the 'Called Element' property. Then you will see 'Handle_Payment' as the Process Id there. Click on the 'Launch Editor' and it'll open the handle-payment.bpmn in a new tab. First, we select whether the user wants to pay online or pay when the order is delivered. Flow_0ifm5t8 Flow_1badwwt After this activity you'll be taken back to the main process. success = True Flow_1e7wa3o Flow_196jf65