jBPM user guide

本文介绍了工作流系统的组成要素,包括任务、参与者等,并详细解释了流程实例的概念及其运行状态。探讨了工作流引擎如何管理和调度流程执行,以及如何通过任务服务提供任务列表访问。此外还涉及历史服务的作用和管理工作流作业的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

工作流
要素:任务、参与者

工作流系统
工作流的管理、
工作流的调度执行、工作流引擎

任务创建时可以指定参与者也可以不指定
角色和人的对应关系

5.1. Process

definition, process instance and executions

One process instance represents one particular run of a process
definition. For example, the loan request of John Doe last Friday to
finance his new boat is represented in one process instance of the loan
process definition.

A process instance contains all the runtime state.
can be done in parallel.

5.2. ProcessEngine
5.3. Deploying a process
5.4. Deleting a deployment
5.5. Starting a new process instance

 It is a best practice to use a user defined business key.


5.6. Signalling a waiting execution

In some cases, the execution that arrives in a state will be the process instance itself.
But that is not always the case.  In case of timers or concurrency,

The preferred way to capture the right execution is by associating an event listener to the state activity

There is an alternatively (less preferrable) way to obtain the executionId
when the execution arrives in the state activity.

5.7. TaskService
The primary purpose of the TaskService is to provide access to task lists.

5.8. HistoryService
And from those events, history information on both running and completed process executions are
collected in the history tables. 
The HistoryService provides access to that information.
  
5.9. ManagementService
The management service is mostly used to manage the jobs.

5.10. Query API
Queries can be written in a unified way on all major jBPM concepts:
 Process Instances, Tasks, Deployments, Historical processes, etc.
6.2.5.3. end multiple
A process can have multiple end events.
6.2.5.4. end state
  end ---  completed
  end-cancel --- cancel
  end-error  --- error
6.2.6. task
Creates a task for a person in the task component.
6.2.6.4. task swimlanes
  Multiple tasks in a process can be associated to a single swimlane.
    A swimlane can also be considered as a process role.
  Swimlanes can be declared inside a process element

In some  cases, this might boil down to(浓缩) authorization roles in the identity component.
But bare in mind(裸记) that it is not always the same thing.

6.2.8. custom
   Invokes user code that implements custom behaviour of an activity.
Chapter 8. Scripting  
Only jUEL is configured as the scripting language. 
jUEL is an implementation of the Unified Expression Language.
To configure other scripting languages then jUEL, please refer to the developer's guide (non supported).

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值