(State machine | sequential workflow) | (state machine + sequential workflow )??

Source: Internet
Author: User

This is a post posted on the windowsworkflow.net Forum as follows:

There has been a lot of talk about state machines are good for human workflow and the sequential workflows are good for system workflow. I wowould like to present some issues about the state machine for human workflow and get opinions.


First, I agree that human workflows are good for the state machine. First they are easy to understand because there are single state. So "awaiting approval", and
"Completed po" are easy to understand. However using this approach the workflow can only be in one state at anytime.


in human workflow a big advantage is to allow a task of items to be handled by more than one resource. so in underwriting you might have one person pulling a credit report, and another checking some other information. A lot of times you wowould want to people doing each task separately so they can both be working on the same tasks processing SS processes. A pure state machine cannot handle this since the state machine only allow for one State at a time.

What I wowould like to propose and get opinion on is having a mixed state machine for the High Level Task (easy for people to understand) and sequential workflow within those States. this will allow for a lot of the parallel processing that might need to happen processing SS resources and processes.

With this, Can Windows workflow start sequential workflow from a state change?

It seems like the combination of these two workflows is the right way to manage human based workflows. This allows for future system integration and the separation of workloads processing SS both system and resources.

Three concepts are mentioned here: Human workflow, state machine, and sequential workflow.
My understanding of these three concepts is:
Human workflow refers to a way we define according to the customer's process. People are the core, that is, all processes are centered around people.
For example, osworkflow in Java
The state machine defines the process based on the jump between the state and the state.
Sequential workflow is a sequential workflow that runs automatically according to certain constraints. (does this mode seem to be unable to interact with people ?)

I don't know if my understanding is correct. help me correct it!
recently, Windows Workflow Foundation has been viewed. There are only two methods: state machine and sequential workflow.

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.