SAP工作流程中DialogWorkItem的狀態

來源:互聯網
上載者:User

SAP畢竟是ERP軟體的龍頭,其工作流程作得相當不錯,和其業務系統整合得相當好。

SAP的工作流程中,WorkItem的類型有很多,其中一種是Dialog WorkItem,用於人工參與的任務。其任務的狀態分類,也許值得我們設計工作流程引擎參考。如下: 

waiting
The work item has been scheduled for its requested start.
A work item has this status
if it already exists but the requested start specified in the workflow definition has not been reached yet.
if it has been set to resubmission Work items in the waiting status are not displayed in the workflow inbox.

ready
The work item has been released for execution and appears in the workflow inbox of all recipients.

reserved
The work item has been received by one of its recipients with the result that its status has changed from ready to reserved.
A work item in the reserved status is then displayed to this recipient only. It is no longer displayed in the workflow inboxes of the other recipients.

In process
The work item is currently being processed by a recipient or in a different mode.
A work item also has this status
if the work item is waiting for its terminating event.
if the user cancelled the method.
if the method was ended with a temporary exception for which no
subsequent steps have been modeled.
The point at which processing is completed cannot be detected by the workflow system in this status. As long as the status of the work item is set to in process, database changes have not been made.

Executed
The work item is awaiting explicit confirmation of its completion.
The work item only has this status if it is necessary to confirm that it has been completed. A work item with executed status can be executed or forwarded several times until it is set to the status done in the Business Workplace.
In this way, groupware components are realized in SAP Business Workflow.

completed
The execution of the work item is completed.
The result of the task represented by the work item is correct, i.e. the result modeled in the workflow definition.
Work items in the completed status are not displayed in the workflow inbox of the Business Workplace.

Logically deleted
Execution of the work item is no longer meaningful or required by the workflow logic.
A work item changes to the logically deleted status in the following way:
Termination in parallel processing branches
When the required number of processing paths has been executed in a fork, the work items in the other paths that have not yet reached the completed status are automatically set to the logically deleted status.
Intervention by an administrator
An administrator can only set a work item to the logically deleted status if it has not yet reached the completed status and is not part of a higher-level workflow.
Work items in the logically deleted status are not displayed in the workflow inbox of the Business Workplace.
A work item with the logically deleted status may have caused database changes or other actions (generate event, send notification). These changes are not canceled automatically
(compensated).

error
Execution of the work item was terminated with an error.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.