[Workflow] implementation of the resource mode in PE

Source: Internet
Author: User

The resource mode is a summary of the resource allocation methods used in the workflow. As a result, these modes also play an important role in the workflow system.

Although there is no complete process language to implement these models, most of them are widely used (although it may not be called the mode... ^_^), such as permission-based assignment.

In this article, I am not going to introduce each resource mode, but to illustrate the basic method for implementing the resource mode of PE. In the next article, I will detail each mode.

In PE, each activity (process and sub-process are also activities) has input resources, and the resource mode in PE works for these input resources.

PE does not use the resource mode as the method for assigning workflow tasks (although some modes use this method), but uses the resource mode to filter input resources, then, rules are used to determine whether the activity can be executed, and indirectly achieve the purpose of task allocation.

For example:

Permission allocation mode: If this mode is set on user resources, PE will automatically find all users' permission resources (parent resources) in the input resources ), determine which of these resources are configured in the correct mode;

Non-conforming user resources are not allowed to participate in the activity. However, after a user resource is filtered out, the PE does not terminate the execution of the activity immediately. Instead, the PE determines whether the execution can continue based on resource rules,

These resource rules are also developed by the designer. For example, the designer can express that if all user resources are not satisfied (that is, the number of filtered resources is 0), the activity will not be executed.

PES process most of the resource modes in a similar way. At the same time, PES allow repeated modes to work on the same resource.

If you are interested, please advise on the resource mode and implementation.

 

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.