Comments (7)
任务的扩展属性应该可以:
RepositoryService repositoryService = getProcessEngine().getRepositoryService();
BpmnModel bpmnModel = repositoryService.getBpmnModel(task.getProcessDefinitionId());
FlowElement flowElement = bpmnModel.getFlowElement(task.getTaskDefinitionKey());
UserTask userTask = (UserTask) flowElement;
List<CustomProperty> customProperties = userTask.getCustomProperties();
```java
这样取吧,你可以试试
from bpmn-vue-activiti.
https://github.com/Yiuman/citrus 这个后端项目也实现了部分比较通用的功能,若你也需要实现后端工作流相关功能可以参考下 @zsoftbuilder
from bpmn-vue-activiti.
通过编辑器添加的扩展属性,获取到的这个UserTask里的customProperties是空的获取不到配置的role
from bpmn-vue-activiti.
那就看下userTask.getExtensionElements里边有没东东吧
from bpmn-vue-activiti.
同样是空的,是不是编辑器生成的xml标签有问题呢?activist7不支持这种标签呢?
from bpmn-vue-activiti.
请问要直接用UserTask.getAttributes()就能获取到的属性,在编辑器里怎么设置添加?
from bpmn-vue-activiti.
我也几个月没碰过这块了,还是自己找下资料吧大兄弟
from bpmn-vue-activiti.
Related Issues (20)
- 请问可以整成组件发布到npm上嘛 HOT 1
- 用户任务的人员设置模块不支持候选组吗?
- 用户任务的人员设置模块不支持候选组吗? HOT 1
- 请问有前端+后端整个的源码吗? HOT 1
- 这个要怎么集成到我自己的Vue项目里? HOT 1
- 如何在用户任务里给处理人和候选人下拉赋值备选项呢 HOT 3
- 搭配的是activiti7,有人知道如何获取task配置的表单属性和拓展数据吗 HOT 4
- 如何配置增加网关 HOT 1
- 能直接使用flowable上么? HOT 7
- 项目的开源协议是什么?
- 可以增加流程模拟嘛。。。 HOT 3
- 支持camunda吗 HOT 8
- 运行空白了 HOT 5
- 所有表单输入值错误 HOT 9
- 我下载的最新代码,跑起来和你的demo不一样啊
- 安装依赖报错 HOT 1
- 任务节点修改为用户任务,再次点击节点会报错 HOT 1
- 修改节点类型触发element.changed导致当前active节点返回上一级的问题(修改类型panel)
- Panel.tsx页面无法正常显示,什么原因??? HOT 1
- ServiceTask 服务任务实现方式如何配置properties HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpmn-vue-activiti.