Appearance
deleteGroupIdentityLink
Flowable 7.1.0 摘要:删除给定IndishityLinkType的组与任务之间的关联。
方法签名与说明
void deleteGroupIdentityLink ( String taskId, String groupId, String identityLinkType)
删除给定IndishityLinkType的组与任务之间的关联。 Parameters:
- 任务 - 任务的ID不能为null。
- GroupID-涉及组的ID不能为null。
- IdentityLinkType-身份类型,不能为null(@See IndentityLinkType)。
Throws:
- FlowableObjectNotFoundException-当任务或组不存在时。
常见使用场景
- 维护候选人/候选组,控制任务的领取范围。
- 通过身份链接构建更精细的协同模型。
- 官方摘要:删除给定IndishityLinkType的组与任务之间的关联。
Kotlin 调用示例
kotlin
val taskId = "TASKID"
val groupId = "GROUPID"
val identityLinkType = "IDENTITYLINKTYPE"
taskService.deleteGroupIdentityLink(taskId, groupId, identityLinkType)注意事项
- 候选信息会影响任务列表查询,应与 IAM 对齐。
- 变更身份链接后可考虑通知相关用户刷新待办。
- 调用前请确认当前用户具备相应的任务/流程操作权限。
- 本文基于 Flowable 7.1.0 Javadoc。
相关 API
- deleteGroupIdentityLink
- addCandidateUser
- addCandidateGroup
- getIdentityLinksForTask