HomePage > Literature Review > Efficient Handling of Changes in Dynamic Workflow Systems
More actions

Efficient Handling of Changes in Dynamic Workflow Systems

Tags:  

Key Points:

In order to migrate workflow instance from one schema to another, we have to undo some completed activities. There are 2 problems:
- Which completed activities should be compensated?
- Where do we insert compensation activities.
Straightforward solution:
- Compare the workflow instance schema and the new schema. Completed activities which do not appear in the new schema are all undo. They are undo at the moment of transition (before continue with new schema).
The proposed solution:
- Each add/remove activities A are accompanied by a list of "invalid activities". If there is an invalid activities appear, they must be undo right before execute A.

General Comments:

Summarize:
- Propose an algorithm that finds set of compensation tasks and and the position to plug then in.

Detail Comments:
- Giải thuật trình bày không rõ (td: không giải thích GET_LAST_MOD_NODE làm gì).
- Thay đổi WF chỉ nhìn ở 3 thao tác cơ bản: thêm activity, xóa activity, thay thế activity. Không hề đề cập đến dòng điều khiển, dòng dữ liệu. Cách nhìn ở đây còn rất hạn chế.
- WF schema is represented with a set of nodes and data flows between them. There is no control flow. The WF schema is not well-defined.
- There is no guideline for how to define which activities need to be compensated (the authors just give an example).
- User are required to specify the activities need to be compensated. It is not feasible.

For Understanding:
- WF schema is represented with a set of nodes and data flows between them.
- DFR (Data flow relation) is actually a matrix representation of the data flow.
- The algorithm is
   1. Compare the 2 schema to discovery add/remove/replace activities.
   2. The user must define activities need to be compensated for each add/remove/replace activities.
   3. The so-called improvement is to plugs the compensated activities ngay trước activities có đính kèm danh sách compensate (có thể có một số activities không cần compensate) với cách này thì theo case-study của tác giả sẽ được lợi.
- Ý tưởng của tác giả là:
  1. Bình thường sẽ tìm tất cả các activity đã thực thi nhưng không có trong schema mới và thực hiện undo chúng,
  2. Bài báo này làm theo cách khác là cứ cho tiếp tự đi tiếp theo schema mới (có thể dư bước) và có thể làm thêm một số bước mới. User phải chỉ ra những activities không được phép làm tứơc khi thực thi activities & nhiệm WF engine sẽ phải undo lại ngay trước khi thực thi bước đó.
- Cases-study: The original workflow is


and the result workflow (with compensation nodes) is:


0 Comments  Show recent to old
Post a comment



 RSS of this page

Written by:   Version:   Last Edited By:   Modified