AnsweredAssumed Answered

Process category not set from xml file

Question asked by mike_d on Aug 5, 2015
Latest reply on Aug 5, 2015 by mike_d
Hello,

I've got Activiti 5.17.0 and try to set the category attribute to a procdef. I can do it in java or I can do it via the modeler and DB is updated appropriately. When I export the XML of a process with a category I set, the category is written in targetNamespace of the definition. So it seems OK to me. But when I set the category in target namespace in xml and then import it, it doesn't get set in the DB. Is that a bug or is there something I don't understand ?

Here's an extract of the xml file where I set the namespace as "TRS" :
<blockcode>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="TRS">
</blockcode>
Thx in advance

Outcomes