一、该问题的重现步骤是什么?
1. 用户审批流有审批分组跟审批人,我在用户里面新增一个字段-用户分组-groupId,每个用户一个分组ID。这个用户分组另外创建了一个用户分组表。
2. 然后我按照审批流程走下来,BMP文件中我设置的动态候选组为groupId(用户分组)
3.我后台修改签收这里,按照道理应该可以查到,但是为什么查不到呢?
TaskQuery claimRoleWithTenantIdQuery = .createTaskQuery().taskTenantId(AuthUtil.()).taskCandidateGroup(group.getId() + ) .includeProcessVariables().active().orderByTaskCreateTime().desc()TaskQuery claimRoleWithoutTenantIdQuery = .createTaskQuery().taskWithoutTenantId().taskCandidateGroup(group.getId() + ).includeProcessVariables().active().orderByTaskCreateTime().desc()
二、你期待的结果是什么?实际看到的又是什么?
能通过用户分组查询到数据
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
bladex-springboot2.12版本,win10
四、请提供详细的错误堆栈信息,这很重要。
五、若有更多详细信息,请在下面提供。
<?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef"> <process id="Multimedia" name="工单审批" isExecutable="true"> <documentation>多媒体工单审批</documentation> <startEvent id="start" name="发起人" flowable:initiator="applyUser"></startEvent> <userTask id="managerTask" name="经理审核" flowable:candidateGroups="groupId"></userTask> <userTask id="userTask" name="调整申请" flowable:assignee="${taskUser}"> <extensionElements> <modeler:initiator-can-complete xmlns:modeler="http://flowable.org/modeler"><![CDATA[true]]></modeler:initiator-can-complete> </extensionElements> </userTask> <endEvent id="end" name="结束"></endEvent> <sequenceFlow id="userPassFlow" name="审核通过" sourceRef="managerTask" targetRef="end"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${pass}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="userNotPassFlow" name="关闭申请" sourceRef="userTask" targetRef="end"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="managerNotPassFlow" name="驳回(审核不通过)" sourceRef="managerTask" targetRef="userTask"> <conditionExpression xsi:type="tFormalExpression"><![CDATA[${!pass}]]></conditionExpression> </sequenceFlow> <sequenceFlow id="flowStart" sourceRef="start" targetRef="managerTask"></sequenceFlow> </process> <bpmndi:BPMNDiagram id="BPMNDiagram_Multimedia"> <bpmndi:BPMNPlane bpmnElement="Multimedia" id="BPMNPlane_Multimedia"> <bpmndi:BPMNShape bpmnElement="start" id="BPMNShape_start"> <omgdc:Bounds height="30.0" width="30.0" x="208.5" y="265.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="managerTask" id="BPMNShape_managerTask"> <omgdc:Bounds height="80.0" width="100.0" x="345.0" y="240.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="userTask" id="BPMNShape_userTask"> <omgdc:Bounds height="80.0" width="100.0" x="345.0" y="405.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNShape bpmnElement="end" id="BPMNShape_end"> <omgdc:Bounds height="28.0" width="28.0" x="643.5" y="266.0"></omgdc:Bounds> </bpmndi:BPMNShape> <bpmndi:BPMNEdge bpmnElement="userPassFlow" id="BPMNEdge_userPassFlow"> <omgdi:waypoint x="444.95000000000005" y="280.0"></omgdi:waypoint> <omgdi:waypoint x="643.5" y="280.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="userNotPassFlow" id="BPMNEdge_userNotPassFlow"> <omgdi:waypoint x="444.94999999983276" y="445.0"></omgdi:waypoint> <omgdi:waypoint x="657.5" y="445.0"></omgdi:waypoint> <omgdi:waypoint x="657.5" y="293.94992645332024"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="flowStart" id="BPMNEdge_flowStart"> <omgdi:waypoint x="238.44999937857222" y="280.0"></omgdi:waypoint> <omgdi:waypoint x="344.99999999998033" y="280.0"></omgdi:waypoint> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge bpmnElement="managerNotPassFlow" id="BPMNEdge_managerNotPassFlow"> <omgdi:waypoint x="395.0" y="319.95000000000005"></omgdi:waypoint> <omgdi:waypoint x="395.0" y="405.0"></omgdi:waypoint> </bpmndi:BPMNEdge> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </definitions>
官方新品
- 热议问题
-
强制有些sql查主库
1
-
报文加密后端加密后传给前端,前端解密发现long类型的数据精度丢失
1
-
iot后台通过feign调用不到服务
1
-
variables.scss的@use引入冲突
1
-
cloud版本远程调用提示file文件名不存在
1
-
BladeX-biz 新建module后,启动报错:Failed to determine suitable jdbc url
1
-
powerjob执行任务状态是等待Worker接收,如何解决通讯问题
1
-
框架4.4.0版本的,现有的功能有支持直接获取远程调用抛出的异常提示吗?
1
-
bladex自定义认证模块
2
-
fegin 远程调用如何传递 BladeUser 到远程?
1
扫一扫访问 Blade技术社区 移动端