You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I try to deploy a bpmn model that has an error for an error boundary event but when I try to get file back the model doesn’t have the error anymore.
I tried with this file also:
Describe the bug
I try to deploy a bpmn model that has an error for an error boundary event but when I try to get file back the model doesn’t have the error anymore.
I tried with this file also:
flowable-engine/modules/flowable-app-rest/src/main/resources/reviewSalesLead.bpmn20.xml
Line 11 in 3cc4d5e
I deploy my file like this:
Deployment deployment = repositoryService.createDeployment() .addBpmnModel(resourceName, model) .deploy();
and I am retrieving it like this:
repositoryService.getProcessModel(processDefinitionId)
I’ve noticed that inside DeploymentBuilderImpl.class here:
public DeploymentBuilder addBpmnModel(String resourceName, BpmnModel bpmnModel) { BpmnXMLConverter bpmnXMLConverter = new BpmnXMLConverter(); String bpmn20Xml = new String(bpmnXMLConverter.convertToXML(bpmnModel), StandardCharsets.UTF_8); addString(resourceName, bpmn20Xml); return this; }
My error is present at bpmn model but it’s not present at bpmn20Xml string.
Expected behavior
Error should be present when retrieving bpmn model
Code
Deployment deployment = repositoryService.createDeployment() .addBpmnModel(resourceName, model) .deploy();
Additional context
Flowable version: 7.1.0
used within Spring Boot app
The text was updated successfully, but these errors were encountered: