Business workflow platform design (5)

Source: Internet
Author: User
Custom Activity ( II ) Data Exchange

to make custom activities universally available, therefore, the data sources required for the activity must follow certain standards. However, this is difficult to achieve. In terms of custom audit activities, it may need data in three aspects (actually more):

L specifies the list of persons used for review when designing a workflow, specifies who can participate in this audit activity. Here is a technical point, that is, how to implement the custom attribute editor.

L the current user information is obtained when the workflow instance is running, based on the current user-defined audit activity, you can determine whether the person can perform this activity, that is, whether the person exists in the user list. If not, the activity is interrupted. For more information about how to interrupt the activity, see Article .

L data required for executing an activity. Business workflow platform design (4) ," minimizing the time of possession "refers to separating the collection of user data from the workflow to save time of possession, data should also be separated from the workflow. The workflow is not responsible for storing and querying the data, but the custom audit activity will apply the data for processing to determine whether the activity is going to proceed to the next step; or continue to wait for the review of other users; or it is rejected (it can be modified and submitted for review again); or it is not adopted (it cannot be submitted for review again ).

the data acquisition path is uncertain, the User List data may be used to directly access the database, or access Web Service , or through the configuration file ...... In addition, do we require users to adopt a unified storage format. All of these are uncertain. So how to integrate with the application system? Let's customize an interface for the application system to implement it.

We need to implement such isolation, otherwise the versatility of this activity will be greatly reduced. However, if each activity has its own different data needs, this situation is also complicated. The best way is to configure them in a centralized manner. We have a corresponding configuration file for each design. It would be a good choice to put the content in it.

To be continued.

Related Article

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.