"H3 BPM Workflow Product Small story" Nineth Approval Line configuration (2)

Source: Internet
Author: User
Tags ming

Lao Li: Long time no See, Xiaoming.
Xiao ming:......
Lao Li: A lot of departments have materials anxious to use, now the approval process is too slow, the application to add an expedited option it. If the choice of urgent, the amount of 1000 or less directly to me, I passed the approval, more than 1000 directly to the general manager for approval. The non-expedited process remains unchanged.
Xiaoming sketched a half-day on the paper, ready to make the process so


Xiao Ming's design drawings


Mao: I'll teach you a simple way ...
Mao: In order to deal with such complex process line conditions, we have provided a functional "business rule" in H3 BPM.
xiaoming: What are the business rules ...
Mao: Business rules are a function, consisting of words and rules, words are parameters, and rules are function methods.
Xiaoming (Cold sweat): Speaking ...
Da Mao: ... You're going to be the business rule is a bread machine, the parameters are the eggs, flour, water, and the bread that is to be put in, and the rules are the working parts of the bread machine.
xiaoming: Oh.
Mao: Create a material Catalog in business rules-rule instances, create new business rules "Material Application".


Business Rules

Mao: Then set up "expedited (logical)" "Amount (numeric type)" "Approver (participant-multiplayer)" Three words, the first two parameter type is "in", the approver parameter type is "out"


Glossary

Mao: Next under the rules to create a decision table, type Select "Selectivearray", the scope of "public", the execution of the information section remains unchanged, and then explain why
Xiao Ming: Oh


establishing a decision table
decision Table Property settings

Da Mao: In the decision table, there are "row information" and "column information", we use "column information" as a condition filter, "row information" as the output data result set. So we have to adjust them to this.


row information and column information

PS : "{Jiaji}" is translated into the word "expedited" by the system and "Jiaji" is the encoding of the vocabulary. "U (Administrative supervisor)" will be translated into the user "administrative supervisor", "Administrative supervisor" is the user's login account
Hairy: When both the row and column settings are complete, click the Edit Rule button in the top left corner to set the condition rule


Conditional Rules

Da Mao: After setting the rules, this rule instance is configured to complete, let us test run, expedited set to "false", the amount is set to "50000", you see the results "executive Manager + General Manager"


Run Tests

Xiao Ming: Oh, it's convenient to modify it later ... Then how to apply this rule to the process line?
Da Mao: Add a data item "approver list" to the data model, type "contributor (Multiplayer)". This data item does not appear in the re-form and is used only to receive approvers who have just returned the business rule.


Data Model

Da Mao: Adding a business approach to the data model


New Business Method

Da Mao: The business method binds the business rule that you just established, and sets the data item corresponding to the incoming outgoing parameter, and then you remember to publish it, and then you adjust the form, and I drink saliva ...


Business Method Binding business rules
Setting Parameter Mappings

Xiao Ming: I have also adjusted the form.
Da Mao: Then I'll teach you to configure the process line, now you can delete the original approval node
Xiao Ming: the sum ... All right
Da Mao: After the application, add a "business action", and then add an "approval", and then connect to the end of the line.


Process Lines

Xiaoming: Is that so simple?
Da Mao: I haven't finished ... There are three steps to it.
Mao: The first step is to select the Get approver method in the general actions-business properties of the business action.
Mao: Second, in the approved properties, set the contributor-contributor to the data item "approver list", "Contributor Type" to "multiplayer", and "participatory mode" to "Serial".
Da Mao: Finally, save the release, this time it's really over, it's so simple.


Properties "Business Properties" settings

Properties Contributor Settings

Article from: H3 BPM community http://bbs.h3bpm.com

"H3 BPM Workflow Product Small story" Nineth Approval Line configuration (2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.