Set table access and workflow access permissions for a Workflow

Source: Internet
Author: User

Set table access and workflow access permissions for a Workflow

In the workflow management system, the workflow engine is responsible for the flow of processes. First, sort out the business, convert the business into one business processing link of the workflow system, and connect each business link with each other to transfer the business process. There are multiple transfer methods, such as sequential flow, conditional flow, parallel flow, and cyclic execution.

The specific things to be handled in each step of the process are completed through the business form. For example, an approval flow can be divided into filling in an application form, review an application form, or even multi-level approval. Filling in an application form is a business link, and an application form is a business link (even a level-1 approval can be used as a business link ). The specific application form is filled in. Create a page entry table for filling in the application form, and link the path of this input form to the process entry form. Create a form page for approving the application form and link it to the approval process. Assign the executable persons in each stage to run the approval flow.

There are several nodes in a business process. Each node handles one thing. The process is completed in the form. The url link of the form is mounted to the node of the process, when the process runs to this node, open the form and submit it to the next step after the user completes the operation.

A business flow has multiple nodes, and each node can have a form. When it is associated with the business, a process instance id field is usually added to the business master table. The business processed on each node can be associated with the process instance. Each node of the process can have the same form or different forms.

The form information processed on the nodes of the process is roughly the same, but when there are a few differences, you can create a form and attach it to each node of the process, then, the permission settings are used to control the display of different information on different nodes. The advantage of this is that the form maintenance in the later stage saves time and effort, and you do not need to modify each form to make a modification. The bad thing is that the permission settings must be added at the beginning of form creation.

Whether the nodes of a process display information by permission settings on the same form or by multiple different forms depends on the business. If the business forms processed on each node are similar, you can set different permissions using the same form. If the services handled by each node are very different, you can still separate the forms.

If each node in a business flow is attached to the same form, you can set the access permissions for each field in the form according to the node when designing the process. On the process node, set the table access permission and the field access permission, such as read-only, disabled, and hidden. After the configuration is complete, save the information in the design file of the business process. When running to this node, open this form. When the form is loaded, take out the information saved in the design file and load it to the control corresponding to the page field, so that the information or control is read-only and hidden, or disable the form.

If the workflow system is integrated with the smart form system, the permission settings can be separated into the smart form. On the form control, set different operation permissions for each node. This is simpler. You can set operation permissions by personnel, role, or process node.

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.