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