valb3r / flowable-bpmn-intellij-plugin

Flowable, Activiti, Camunda BPMN engines process editor plugin for IntelliJ. Pure Kotlin (and some Java)
https://plugins.jetbrains.com/plugin/14318-flowable-bpmn-visualizer
MIT License
156 stars 31 forks source link

请问我在流程图中的节点设置了 Assignee 值,为什么启动流程后,任务表的 ASSIGNEE_ 值为空 #392

Closed Yuqn closed 2 months ago

Yuqn commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

我在流程图中的节点设置了 Assignee 值,分别为${assignee0}、${assignee1}、${assignee2}、${assignee3},并且流程成功部署;启动流程的时候我有通过Map对象上传assignee的值,为什么启动流程后 act_rutask 表中 ASSIGNEE 字段为空,按理来说值应该为 “李四”。

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

BPMN definition

<?xml version="1.0" encoding="UTF-8" ?>
<diagram xmlns="http://www.omg.com/di/1.0.0">
<!-- BPMN to use to reproduce the issue -->
</diagram>

Expected behavior A clear and concise description of what you expected to happen.

启动流程后 act_rutask 表中 ASSIGNEE 字段值应该为${assignee0}的值。

Screenshots If applicable, add screenshots to help explain your problem.

image

image

image

image

IntelliJ version (please complete the following information):

Intellij idea 2021.3.1

Additional context Add any other context about the problem here.

valb3r commented 2 months ago

@Yuqn Can't reproduce the issue, are you sure that you have correct test setup (I'm using pure Spring Boot integration test (with SpEL), but I don't see which Expression Language is used in your test case:

Google translate: 无法重现该问题,您确定您有正确的测试设置吗(我正在使用纯 Spring Boot 集成测试(带有 SpEL),但我看不到您的测试用例中使用了哪种表达式语言:

Screenshot 2024-05-15 at 11 36 19 Screenshot 2024-05-15 at 11 36 32 Screenshot 2024-05-15 at 11 37 43
Yuqn commented 2 months ago

我把任务删除,重新部署、启动就没有这种情况了