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

我想在连接线上通过流程变量实现流程分支,是否存在此功能 #393

Closed Yuqn closed 2 months ago

Yuqn commented 2 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

我创建了一个请假流程,内容为:创建出差申请 -> 部门经理审批 -> 总经理审批 -> 财务审批。当请假时间小于三天时,流程为 创建出差申请 -> 部门经理审批-> 财务审批;当请假时间大于等于三天时,流程为 创建出差 -> 部门经理审批 -> 总经理审批 -> 财务审批。

在 activiti 插件中,为两个审批模块之间的连线提供了 Condition 值,用于判断请假时间,从而达到不同效果,如下: image image

该插件目前是否提供类似上面的 Condition 值用于设置流程变量呢?或者后续会提供该方法?

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

valb3r commented 2 months ago

@Yuqn Thanks for feedback, I think this is already supported and is called "Condition expression":

Google translate: 感谢您的反馈,我认为这已经得到支持,称为“条件表达式”:

Screenshot 2024-05-15 at 09 27 07
Yuqn commented 2 months ago

嗯嗯,谢谢支持