WWF <Article 3>

Source: Internet
Author: User

WWF classifies workflows into two categories:

  • Human-oriented: When a workflow is running, the user's operations on external applications affect the workflow's business flow.
  • For system: application control process.

Workflows and applications can exist independently. Therefore, data interaction between them must be implemented through interfaces. Data Interaction Models between workflows, applications, and interfaces are as follows:

  

The workflow instance exists in the runtime container when the workflow is running, but the interface project and application used for data interaction do not exist in the runtime container of the workflow. WWF provides "system. workflow. Activities. externaldataexchangeservice" for data interaction. You can load an external application to the "externaldataexchangeservice" service, and then load the service to the runtime container when the workflow is running, then, the workflow instance and the external application are both in the same container, so that data interaction can be performed.

  

I. handleexternalevent
Handleexternalevent is an event-type activity. The Calling relationships between callexternalevent and handleexternalevent activities and applications are as follows:

  

Handleexternalevent registers an application to the container runtime when the workflow is running through an "externaldataexchangeservice" service, an interface project that inherits "externaldataexchange" is used to call a workflow by an external application. However, the handleexternalevent activity defines Event Events in the interface rather than common functions or methods. After the workflow is executed to the handleexternalevent activity, it enters the "idle" state.

 

WWF <Article 3>

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.