Now, you are familiar with designing a process using the Activiti Designer and testing it using Eclipse. Now let's say a business process has already been designed by a business analyst and the developer has been asked to add technical details to the existing process. As in Chapter 2, Modeling Using the Activiti Modeler, we have designed a business process using the Activiti Modeler and exported and saved it. Now we will see how to import that process to the Activiti Designer. In this section, we will look at how to import a process from the Activiti Modeler to the Activiti Designer by performing the following steps:
bpmn20.xml
file in the diagrams
folder of the project created, as shown in the following screenshot:process.bpmn20.xml
file, browse through it, and open it in another window.Now you're familiar with designing a process using the Activiti Designer and testing it in Eclipse. After testing the process, we need to import the process to the Modeler. In this section, we learned how to import our process to the Modeler.
Create a driving license business process using the Activiti Designer. At the start of the event, use one form to get applicants' information, such as their name, age, and type of license. Then check the age condition in a script task; if all the conditions are satisfied, allocate the document approval task to the DMV officer. So for the approval task, take one human task. Send a confirmation message to the applicant about the status of their application, which can be either approved or rejected.