Package org.activiti.engine.impl.persistence.entity

Examples of org.activiti.engine.impl.persistence.entity.TaskEntity.deleteUserIdentityLink()


                    Set<IdentityLink> candidates = taskEntity.getCandidates();
                    for (IdentityLink identityLink : candidates) {
                        // 处理候选人
                        if (identityLink.getUserId() != null && identityLink.getUserId().equals(userId)) {
                            // 必须删除link,否则报错
                            taskEntity.deleteUserIdentityLink(identityLink.getUserId(), "candidate");

                            // 签收触发TASK_ASSIGNED
                            taskService.claim(taskEntity.getId(), userId);
                        } else if (groupIds.contains(identityLink.getGroupId())) {
                            // 必须删除link,否则报错
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.