|
|
@ -501,8 +501,9 @@ public class FlowableRest implements FlowableFeign { |
|
|
|
String id = flowElement.getId(); |
|
|
|
if (taskDefKey.equals(id) && i + 1 < flowElements.size()) { |
|
|
|
FlowElement flowElement1 = flowElements.get(i + 1); |
|
|
|
FlowElement flowElement2 = flowElements.get(i + 2); |
|
|
|
List<SysUserVo> sysUserVoLists2 = new ArrayList<>(); |
|
|
|
if(i+2<flowElements.size()){ |
|
|
|
FlowElement flowElement2 = flowElements.get(i + 2); |
|
|
|
if (flowElement2 instanceof UserTask) { |
|
|
|
UserTask userTask = (UserTask) flowElement2; |
|
|
|
List<String> candidateGroups = userTask.getCandidateGroups(); |
|
|
@ -519,6 +520,7 @@ public class FlowableRest implements FlowableFeign { |
|
|
|
sysUserVoLists2.addAll(userByRole.getData()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (flowElement1 instanceof UserTask) { |
|
|
|
UserTask userTask = (UserTask) flowElement1; |
|
|
|
List<String> candidateGroups = userTask.getCandidateGroups(); |
|
|
|