Building a workflow designer with Silverlight (ix)

Source: Internet
Author: User

Source code Download: http://www.shareidea.net/opensource.htm

Online Demo: http://www.shareidea.net/workflow.htm

Video Tutorials: http://www.shareidea.net/video/sharedesigner/sharedesigner.htm

This article source address: http://www.cnblogs.com/chegan/archive/2009/05/10/1453457.htm

Six enhancements to the user Experience feature

6.5 Binding Checks

When a user saves a process, the system needs to perform a general constraint check on the process that the user is currently configuring. These binding checks consist of the following sections:

Each process must have a start activity and an end activity.

There must be at least one follow-up activity in the event that a precursor activity cannot be initiated.

There must be at least one precursor activity to end the activity.

Branch activities have and have only one precursor activity, and must have at least one follow-up activity.

Convergence activities have and only one successor activity, and must have at least one precursor activity.

A general interaction activity must have at least one precursor activity and a successor activity (the characteristic of the general interaction activity by default owned or branched, or aggregation activity).

Each rule must have a start activity and an end activity.

The starting and ending activities of any two rules cannot be the same.

The process checked by the above procedure conforms to the general constraints, but does not indicate that this is a completely correct process. These checks are just a compilation check and do not include run-time checks. Runtime checking refers to some of the constraints of the process during operation. These include but are not limited to:

Write Run-time checks for rule conditions.

Process dead loop check.

Wait a minute.

This procedure only involves a general constraint check.

When you save the process, check each activity and rule according to the constraints above, and give the prompts for those that do not meet the criteria, as shown in the following figure:

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.