如果两个事件具有相同的活动模板ID (ATID)和相同的流程实例 ID(PIID),那么这两个事件就属于同一个活动实例。
Two events belong to the same activity instance if they have the same activity template ID (ATID) and the same process instance ID (PIID).
清单3显示的代码片段根据流程实例ID获取事件处理程序。
Listing 3 shows the code snippet getting the event handler by a process instance ID.
清单2显示的是使用BusinessFlowManagerAPI获取流程实例ID的代码片段。
Listing 2 shows the code snippet to get the process instance ID using the Business Flow Manager API.
例如,您可能想要在流程实例中寻找与某个ID的客户相关的所有任务。
For example, you may want to find all the tasks in process instances concerning a customer with a given customer ID.
任务实例创建动作处理器(清单15),它保存流程实例上下文的任务实例id。
Task instance creation action handler (Listing 15), storing an id of a task instance in process instance context.
任务实例创建动作处理器(清单15),它保存流程实例上下文的任务实例id。
Task instance creation action handler (Listing 15), storing an id of a task instance in process instance context.
应用推荐