JBoss series eighty-one: jBPM 6 jbpm-console is used to create the implementation of BPM Process - II

Outline

As jBPM 6 jbpm-console used to create BPM process execution - I shown, we created a simple implementation of BPM processes on jbpm-console, how on the basis of the foregoing paper presentations created for a more complex process, namely The process starts when you need to enter data and perform the User Task.

Creation process

As jBPM 6 jbpm-console used to create BPM process execution - I shown, select Authoring -> Project Authoring, select rganizational Unit in the Project Explorer to test, select Repository as myTestRepo, click New Item -> Business Process creation process TestProcess -1 shown below:


Process and I - jBPM 6 created in the implementation of BPM processes using jbpm-console   similar, only a User Task node, User Task executor is kylin.

Creating Data Modeler

Select Tools -> Data Modeler, click on the Create button to create a data object, the pop-up box Identifier filled in as input Person, Package selection org.jbpm.test, click the Ok button, add the following three variables to the Create new field field: Type as String name, type Integer of age, type Boolean adult, click save to save as shown below:


Editing Process

The process returns to edit, add a person variable type org.jbpm.test.Person, as shown below:


Process Editor editing User Task, edit DataInputSet, add person_in variable type org.jbpm.test.Person, as shown below:


Edit DataOutputSet, add person_out variable type org.jbpm.test.Person, as shown below:


Assignments' edit, add the Assignment, person_in person variable to variable, person_out variable variable to person, as shown below:


Save editing process, editing process in the navigation select Generate All Forms shown below:


Also in the selection process to select edit navigation Edit Process Form, Edit Process Form shown below:


In the selection process to select edit navigation Edit Task Form, Task Form editor shown below:


So far the editing process editing is completed.

Run Process

As 6 an example of jBPM Evaluation run jBPM console in Evaluation example of the content of the description, select Tools -> Project Edit, click the rightmost Build & Deploy can be deployed Test Process; select Process Management -> Process Definitions lists all the defined deployment process, select TestProcess-1, at the far right click the start button to start the implementation process, select Task -> Task list, click on the start icon to the right of the list, the icon will change to complete start icon, then click the complete icon to complete the implementation process.

Reproduced in: https: //my.oschina.net/iwuyang/blog/197236

Guess you like

Origin blog.csdn.net/weixin_33757609/article/details/91897394