The custom process of jabdp (3)

5. Simple process example drawing steps

legend:

This is an example of a simple process design, which is divided into six steps. When reading, you can view it corresponding to the specific description of the property configuration in the previous section.

1. Step 1 : Overall Properties ( BPMN-Diagram )

First set the overall properties of the process, click the blank, and the process property settings will be displayed in the property column on the right:

(required attribute):

Name :  Flowchart name;

Process identifier :  Process definition key  (that is, the lowercase of the current module attribute name);

2. Step 2 : Start event

To start drawing, first drag a Start event icon from the icon box on the left and place it in the middle blank space;

Then click the icon and set the properties of the icon in the property bar on the right: (required properties):

Initiator :  Set the variable name of the initiator ( the name can be filled in by yourself ) ;

3. Step 3 : Personnel approval (User Task)

Then click the person icon in the figure to generate a UserTask ( approval task ), and  set the properties of the icon in the property bar on the right:

(required attribute):

Name : The task  name of the approval process (supports Chinese )

A assignments : The person who handles the approval process (for specific property settings, please refer to the assignments property settings in 4-4 )

 

(optional attribute):

Form properties  : (for specific property settings, please refer to the Form properties property setting description in 4-4 ) 

Task Listener  : (for specific property settings, see the description of Task Listener property settings in Section 4-4)

4. Step 4 : Branch node (Exdusive gateway)

Then click the X icon to draw the branch node

 

There are 2 basic branches : (exclusive branch) and (parallel branch), the specific use is drawn according to business needs ;

According to the example diagram, click the X icon , select UserTask , and then drag the corresponding icon to layout; then select UserTask again to branch.

5. Step 5 : Sequence flow

Click the No. 1 arrow: set sequence flow properties, flow direction conditions:

(required attribute):

N name :  Flow direction name such as: (agree / disagree)

Flow condition :  Flow judgment expression, such as: (agree / disagree ------- ${approve== 1 } /${approve== 0 } )

For other expression settings, please refer to the description of the icon properties of four -3

6. Step 6 : Reject the modification ( User Task )

Property Assignments configuration:

Properties form properties configuration:

6. Example function display

1. Start the process

After the buyer fills in the requisition form, click Start Process. After the startup is successful, the requisition will be sent to the approver (here is the purchasing minister), and the requisition will become the status of approval.

2. Receive messages

Enter the account with the role of purchasing minister, and click [Reminder].

 

In [To Do], you can see the purchase order just submitted. Click [Sign and Handle].

Open the purchase order details, click Agree, and the purchase order will be sent to the next approver account.

After the process is complete, the purchase order will become approved.

{{o.name}}
{{m.name}}

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=324126924&siteId=291194637