cancel
Showing results for 
Search instead for 
Did you mean: 

New Modeler shipped from 5.17.0 has issue with boundary timer event

nutharsh
Champ in-the-making
Champ in-the-making
Hi All,
The boundary timer event defined on user task while modeling using activiti-modeler has issue with proper BPMN XML generation.
The generated XML is having invalid elements. Please let me know whether it is a known issue or not.

<process id="process" isExecutable="true">
    <startEvent id="sid-A35629F4-E5E2-4406-9169-A1A05F37EE0C"></startEvent>
    <userTask id="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA"></userTask>
    <sequenceFlow id="sid-00E40C1D-A175-4B5C-B56F-0C57BE6AF58D" sourceRef="sid-A35629F4-E5E2-4406-9169-A1A05F37EE0C" targetRef="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA"></sequenceFlow>
    <endEvent id="sid-FA7A0CA4-582A-415F-8A71-EC8233B5A4FC"></endEvent>
    <sequenceFlow id="sid-C75A166A-A1EE-48D6-B635-6206B847E3D9" sourceRef="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA" targetRef="sid-FA7A0CA4-582A-415F-8A71-EC8233B5A4FC"></sequenceFlow>
    <sequenceFlow id="sid-E4C6AFE3-A7BC-476D-BEB4-E239ED0400E1" sourceRef="sid-64A5943D-FB62-4554-B638-653AED697B22" targetRef="sid-2FB95A76-3ECC-4753-B31F-A232987FD9A4">
      <extensionElements>
<EDITOR_RESOURCEID>sid-E4C6AFE3-A7BC-476D-BEB4-E239ED0400E1</EDITOR_RESOURCEID>
      </extensionElements>
    </sequenceFlow>
    <endEvent id="sid-2FB95A76-3ECC-4753-B31F-A232987FD9A4"></endEvent>
  </process>
8 REPLIES 8

nutharsh
Champ in-the-making
Champ in-the-making
THE EXTENSION ELEMENTS SECTION IS HAVING INVALID XML CONTENTS.



<code>
<process id="process" isExecutable="true">
    <startEvent id="sid-A35629F4-E5E2-4406-9169-A1A05F37EE0C"></startEvent>
    <userTask id="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA"></userTask>
    <sequenceFlow id="sid-00E40C1D-A175-4B5C-B56F-0C57BE6AF58D" sourceRef="sid-A35629F4-E5E2-4406-9169-A1A05F37EE0C" targetRef="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA"></sequenceFlow>
    <endEvent id="sid-FA7A0CA4-582A-415F-8A71-EC8233B5A4FC"></endEvent>
    <sequenceFlow id="sid-C75A166A-A1EE-48D6-B635-6206B847E3D9" sourceRef="sid-FAAE66EB-5B10-4E81-ABBF-318471C9CAFA" targetRef="sid-FA7A0CA4-582A-415F-8A71-EC8233B5A4FC"></sequenceFlow>
    <sequenceFlow id="sid-E4C6AFE3-A7BC-476D-BEB4-E239ED0400E1" sourceRef="sid-64A5943D-FB62-4554-B638-653AED697B22" targetRef="sid-2FB95A76-3ECC-4753-B31F-A232987FD9A4">
      <extensionElements>
        <EDITOR_RESOURCEID>sid-E4C6AFE3-A7BC-476D-BEB4-E239ED0400E1</EDITOR_RESOURCEID>
      </extensionElements>
    </sequenceFlow>
    <endEvent id="sid-2FB95A76-3ECC-4753-B31F-A232987FD9A4"></endEvent>
  </process>
<code>

jbarrez
Star Contributor
Star Contributor
Why is this invalid? This is a random generated string.

nutharsh
Champ in-the-making
Champ in-the-making
Probably, The code i pasted should have been highlighted.

<code>
        <EDITOR_RESOURCEID>sid-E4C6AFE3-A7BC-476D-BEB4-E239ED0400E1</EDITOR_RESOURCEID>
</code>

<EDITOR_RESOURCEID> is a invalid tag …right in the generated XML?

kiddinho
Champ in-the-making
Champ in-the-making
Hi,
I have same problem. Modeler generate xml process definition like that:
<code>
<sequenceFlow id="flow02" sourceRef="task01" targetRef="task02">
      <extensionElements>
        <EDITOR_RESOURCEID>sid-87BE9E1F-B126-480D-9AF1-757D6EA9ADFD</EDITOR_RESOURCEID>
      </extensionElements>
    </sequenceFlow>
</code>

When deploy, it throws following exception:
Invalid content was found starting with element 'EDITOR_RESOURCEID'. One of '{WC[##other:"http://www.omg.org/spec/BPMN/20100524/MODEL"]}' is expected.

I don't know why it generate <EDITOR_RESOURCEID> tag, sometime it happen, sometime not.
Please let me know is it problem?

Thanks

jbarrez
Star Contributor
Star Contributor
Hmm you mean the tag should be namespaced?
It would be good if you can describe me how to reproduce. I tried a few times here, but couldn't see what you are seeing.

zivm
Champ in-the-making
Champ in-the-making
It happend to me when i edit the stencilset.json file and define there my custom activity, then i use it in some process in the diagram and got that error when i tried to deploy that process

vivo
Champ in-the-making
Champ in-the-making
I've had the same issue, I reproduced it by doing those actions:

1- I deployed a model twice.
2- That gives me two definitions with two different versions.
3- after that, I removed both difinitions.
4-  then I redployed the same model again.
5- the deployement had failed, and I've this exception in LOGS:


GRAVE: org.activiti.bpmn.exceptions.XMLException: cvc-complex-type.2.4.a : Contenu non valide trouvé à partir de l'élément 'EDITOR_RESOURCEID'. L'une des valeurs '{WC[##other:"http://www.omg.org/spec/BPMN/20100524/MODEL"]}' est attendue.

neon
Champ in-the-making
Champ in-the-making
I have the exact same issue with activiti 5.21 and activiti 6. Did you find a solution?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.