Chapter 15. Activiti Explorer(Activiti 資源管理器)
Table of Contents
- Overview(概要)
- Tasks Management(任務管理)
- Process Instance Inspection(流程實例檢查)
Overview(概要)
Activiti Explorer is a web application that provides access to the Activiti Engine runtime for all users of the system. It includes task management and process instance inspection.
Activiti Explorer是一個為系統用戶提供訪問Activiti Engine功能的Web應用程序。它包括任務管理和流程實例檢查。
Tasks Management(任務管理)
When you log in to Activiti Explorer, you will see the task page first. This page lists all tasks currently available and allows you to filter the view using any of the criteria in the left-hand panel. From here, all users can claim tasks and complete tasks.
當登錄至Activiti Explorer,首先將看到任務頁面。此頁列出了可獲得的所有任務。通過使用左手面板的任何基準,允許對視圖進行過濾。在此,所有用戶可以認領任務和完成任務。
Task forms can be started directly from a URL, enabling links to forms to be embedded in places like emails, the URL is:
可以直接從一個URL啟動任務表單,使得像email的連接嵌入表單,URL為:
http://localhost:8080/activiti-explorer/start?taskId=119
, where 119
is the ID of the task with an associated form.
這里119是和相關表單關聯的任務ID。
Process Instance Inspection(流程實例檢查)
The Processes tab enables users to view all deployed process definitions and provides the ability to start new process instances. Upon starting a process, any associated forms will automatically be displayed. As with the tasks, it is possible to directly start a process directly from a URL. That URL takes the form:
"Prcoesses"標簽頁讓用戶查看所有已部署的流程定義,并提供啟動新的流程實例的能力。一檔開始一個進程,任何相關的表單將會自動顯示。對于任務,直接從一個URL啟動一個流程。那個URL采用這樣的格式:
http://localhost:8080/activiti-explorer/processes#start?id=financialReport:1
, where financialReport:1
is the ID of the process you want to start. The process will be started immediately and confirmation displayed on screen.
這里fanancialReport:1是將要啟動流程的ID。流程將會立即啟動并在屏幕上顯示確認。
The process list is paginated and can be sorted. The actions column can be extended to allow for other functions on a process instance (such as linking it to an Activiti Modeler install to enable users to view a process before starting it) by extending the processes WebScript.
流程列表可以分頁和排序。通過擴展流程WebScript,可以擴展"Action"列來在一個流程實例上允許系統功能(諸如連接到Activiti Modeler,讓用戶在啟動流程前查看它)