Hey Guys,
Is there a way to add a bpmn:resource
node in the bpmn file?
I tried to add the following node in the bpmn:
<bpmn:resource id="1" name="sampleHumanResource" />
but when I compile the bpmn this is what I received back:
Error: URI=null Line=4: cvc-complex-type.2.4.a: Invalid content was found starting with element
'bpmn:resource'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":documentation,
"http://www.omg.org/spec/BPMN/20100524/MODEL":extensionElements,
"http://www.omg.org/spec/BPMN/20100524/MODEL":supportedInterfaceRef,
"http://www.omg.org/spec/BPMN/20100524/MODEL":ioSpecification,
"http://www.omg.org/spec/BPMN/20100524/MODEL":ioBinding,
"http://www.omg.org/spec/BPMN/20100524/MODEL":auditing,
"http://www.omg.org/spec/BPMN/20100524/MODEL":monitoring,
"http://www.omg.org/spec/BPMN/20100524/MODEL":property,
"http://www.omg.org/spec/BPMN/20100524/MODEL":laneSet,
"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement,
"http://www.omg.org/spec/BPMN/20100524/MODEL":artifact,
"http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole,
"http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription,
"http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
And this is the node where I defiened the namespaces:
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpsim="http://www.bpsim.org/schemas/2.0" id="Definitions_1"
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.3">
I am asking this because the bpmn:resource
tag is defined also in the bpmn schema as you can see: https://www.omg.org/spec/BPMN/20100501/Semantic.xsd
so I do not understand why camunda should not be able to parse it.
Thanks,