清单12处理可分配任务实例。
清单15任务实例创建处理器。
可以自动地删除业务过程实例和人工任务实例。
The automatic deletion of business process instances and human tasks instances can be modeled.
BPC提供用来查询和删除过程和任务实例的函数。
BPC provides functions to query and delete process and task instances.
长时间运行的业务流程和任务实例存储在数据库中。
Long-running business process and task instances are stored in a database.
这就要求修改jBPM提供的任务和任务实例类。
This required modifications to both task and task-instance classes provided by jBPM.
人工任务:HumanTasks显示人工任务实例。
清单8自定义任务实例的Hibernate映射文件。
任务实例的完成伴随有一个变迁(一般是回到任务节点)。
Task instance completion is accompanied by a transition (typically back to task node).
类似,一个任务实例——任务的运行时表示——就会被创建。
Similarly a task-instance – run time representation of a task is created.
流程定义描述流程实例的方式类似任务描述任务实例的方式。
A process definition describes a process instance in a manner similar to the way a task describes a task instance.
您可以从模板创建并启动一个流程或任务实例并对其加以利用。
From a template, you can create and start a process or task instance and work with it.
这个处理器首先记录上报计数器,接着完成此节点关联的任务实例。
This handler first pegs the escalation counter and then completes a task instance, associated with this node.
BPCExplorer在它自己的事务中删除每个过程或任务实例。
The BPC Explorer deletes each process or task instance in its own transaction.
originator %与作为任务实例发起者的人员的用户ID绑定。
HTM: task.originator % is bound to the user ID of the person who is acting as the originator of the task instance.
活动任务实例的数量(模拟处于活动状态时任务上面的框中的数字)增加。
The number of active task instances (the number in the box above the task when the simulation is active) increases.
另外,如果两个线程同时删除过程或任务实例,会导致在日志中记录错误消息。
Also, if the process or task instances are deleted by two threads simultaneously, this results in error messages in the logs.
第2部分介绍清理已完成的过程和任务实例以保持最佳BPEDB大小的方法。
Part 2 describes the cleaning options for completed process and task instances to maintain an optimal BPEDB size.
MyTasks——此小部件显示当前登录用户拥有的所有任务实例的列表。
My Tasks - This widget displays a list of all task instances for which the currently logged in user is the task owner.
业务过程和人工任务实例完成之后,实例可能留在数据库中,也可能自动地删除。
Once business process and human task instances are completed, the instances may be kept in the database or deleted automatically.
任务实例创建动作处理器(清单15),它保存流程实例上下文的任务实例id。
Task instance creation action handler (Listing 15), storing an id of a task instance in process instance context.
根据这个过滤器定义,只显示completed值为False的人工任务实例。
According to this filter specification, only the human task instances that have a Completed value of False will be displayed.
任务实例的一个作用就是支持用户交互——把数据显示给用户并从用户那里收集数据。
A role of task instance is to support user interaction - presenting data to the user and collecting data from a user.
owner %解析到声明了任务实例的人员的用户ID,因此成为该任务的所有者。
HTM: task.owner % resolves to the user ID of the person who has claimed the task instance, and is thus its owner.
由于会在数据库系统产生很重的负载,同时用多个线程清理过程或任务实例是没有意义的。
Due to the heavy load on the database system, it does not make sense to have several threads cleaning the process or task instances at the same time.
这个调用的输入是一个引用特定人工任务实例的tkiid(任务实例id),它返回输入数据。
The input to this call is the tkiid (task instance id) that refers to the specific instance of a human task, and returns the input data.
BPC应用程序位于ProcessServer中,用于创建在查看模式下显示的人工任务实例。
The BPC application is located in Process Server and is used to create the human task instances that are displayed in view mode.
业务过程实例或人工任务实例的执行方式(作为对等实例或依赖的子实例)决定了在执行完之后如何删除它。
The way a business process instance or a human task instance executes, either as peer or as a dependent child, determines how it is deleted after its execution has completed.
要让jBPM能够使用我们的自定义任务实例实现,我们还需要提供一个自定义的任务实例工厂(清单10)。
In order for jBPM to be able to use our custom task instance implementation we also need to provide a custom task instance factory (Listing 10)
自定义属性在已经为任务实例进行了设置之后可用,或在任务模板上进行设置的情况下,在所有任务状态下可用。
Custom properties are available after they have been set for the task instance, or in all task states, when they are set on the task template.
应用推荐