Yiuman / bpmn-vue-activiti

基于Vue3.x + Vite + bpmn-js + element-plus + tsx 实现的Activiti流程设计器(Activiti process designer based on Vue3.x + Vite + BPMN-JS + Element-Plus + TSX implementation)

Home Page:https://yiuman.github.io/bpmn-vue-activiti/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

搭配的是activiti7,有人知道如何获取task配置的表单属性和拓展数据吗

leo-je opened this issue · comments

搭配的是activiti7,有人知道如何获取task配置的表单属性和拓展数据吗

你指的是在前端获取? @leo-je

你指的是在前端获取? @leo-je
后端,form属性拿到了,但是拓展属性的配置没有找到

FlowElement flowElement = bpmnModel.getFlowElement("节点的ID");
flowElement.getExtensionElements()

FlowElement flowElement = bpmnModel.getFlowElement("节点的ID"); flowElement.getExtensionElements()
解决了,感谢.还有个地方,流程信息的面板,基本信息里不是"流程名称"和"流程id",而是"节点信息"和"节点id"