Missing namespace on activiti:field

Hey guys…trying to import a diagram, but getting the following error:

Uncaught (in promise) Error: unparsable content activiti:field detected; this may indicate an invalid BPMN 2.0 diagram file
line: 8
column: 2
nested error: missing namespace on activiti:field

This is the part of the diagram that’s getting the error:

<bpmn2:serviceTask id=“sid-59C993BD-38A0-4DC3-97BC-F58FD94E38A9” name=“Send email poll” activiti:type=“mail”>

<activiti:field name=“to”>
activiti:expression${email}</activiti:expression>
</activiti:field>
<activiti:field name=“from”>
activiti:expression${sender}</activiti:expression>
</activiti:field>
<activiti:field name=“subject”>
activiti:string${emailPollSubject}</activiti:string>
</activiti:field>
<activiti:field name=“html”>
activiti:expression

<![CDATA[

This is test message with two answers

Option 1 Option 2 ]]>

</activiti:expression>
</activiti:field>

</bpmn2:serviceTask>

Hello @Aleksandar_Krajisnik ,

is the namespace activiti declared in the bpmn2:definitions element (should be the root)?

Jonathan

1 Like