Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Activiti 工作流程中,如何访问bpm_comment用户输入的每条评论的变量?
bpm_comment
如果我bpm_comment在每个任务中使用,它会显示相同的评论(第一个)。
我已经解决了!
在每个 userTask 中,我使用以下代码检索 bpm:comment。
var taskId = "activiti$" + task.getId(); var taskComment = workflow.getTask(taskId).getProperties()["bpm:comment"];