WF Workflow running mechanism

Source: Internet
Author: User

1 workflowruntime. startruntime () Start WF runtime.
2 workflowruntime. createworkflow () returns the newly created WF workflow instance. This method prepares a scheduler and a scheduler work queue for the newly created WF workflow instance. When this method is returned, all activities in the WF workflow are in the initialized state.
3. workflowinstance. Start () notifies WF to start executing the WF workflow instance when it is running. This method adds the delegate of the active root node in the WF workflow to the scheduler work queue.

1. Create a Workflow
2. ForwardProgramThe loader sends a request to create a workflow prototype from the template.
3. Create a workflow instance
4. Point the metadata of the instance to the metadata of the prototype.
5. Create a scheduler
6. initialize the workflow instance
7. Create a workinstance object, bind the object to the workflow instance, scheduler, and AEC, and return the object to the caller.

 

 

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.