Appearance
getEntityLinkParentsForProcessInstance
Flowable 7.1.0 摘要:检索引用给定过程实例的EntityLink s。
方法签名与说明
List <org.flowable.entitylink.api.EntityLink> getEntityLinkParentsForProcessInstance ( String instanceId)
检索引用给定过程实例的EntityLink s。
常见使用场景
- 查看流程与任务之间的实体关联。
- 用于追踪跨流程、跨任务的引用关系。
- 官方摘要:检索引用给定过程实例的EntityLink s。
Kotlin 调用示例
kotlin
val instanceId = "INSTANCEID"
runtimeService.getEntityLinkParentsForProcessInstance(instanceId)注意事项
- 实体关联可帮助排查跨流程依赖,注意分页。
- 查询结果可能包含历史记录,需结合业务过滤。
- 调用前请确认当前用户具备相应的任务/流程操作权限。
- 本文基于 Flowable 7.1.0 Javadoc。
相关 API
- getEntityLinkChildrenForProcessInstance
- getEntityLinkParentsForProcessInstance