Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-5149

multiple OnEntry/OnExit sctipts are not accessible when migrating from BRMS 5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • Eclipse Tooling
    • JBDS10 + BPMN2 Modeler - Diagram Editor 1.3.3.Final-v20170221-1647-B60
      JBDS11 + BPMN2 Modeler - Diagram Editor 1.4.1.Final-v20170829-1537-B1

    • Migration
    • Hide

      open it by process designer of business central and then save it

      Show
      open it by process designer of business central and then save it
    • Hide

      1. open attached multiTest.bpmn2 by jbds
      2. click mail task and open property editor
      3. check On Entry Script
      You can see only one line script even though there are 3 scripts in bpmn2 like the following.

      -------------
      ...
      <bpmn2:task id="_61AFA088-E5E6-4921-953C-40B02E554047" drools:selectable="true" drools:taskName="Email" name="Email">
      <bpmn2:extensionElements>
      <drools:onEntry-script scriptFormat="http://www.java.com/java">
      <drools:script><![CDATA[System.out.println("22");]]></drools:script>
      </drools:onEntry-script>
      <drools:onEntry-script scriptFormat="http://www.java.com/java">
      <drools:script><![CDATA[System.out.println("23");]]></drools:script>
      </drools:onEntry-script>
      <drools:onEntry-script scriptFormat="http://www.java.com/java">
      <drools:script><![CDATA[System.out.println("24");]]></drools:script>
      </drools:onEntry-script>
      ...
      -----------

      Show
      1. open attached multiTest.bpmn2 by jbds 2. click mail task and open property editor 3. check On Entry Script You can see only one line script even though there are 3 scripts in bpmn2 like the following. ------------- ... <bpmn2:task id="_61AFA088-E5E6-4921-953C-40B02E554047" drools:selectable="true" drools:taskName="Email" name="Email"> <bpmn2:extensionElements> <drools:onEntry-script scriptFormat="http://www.java.com/java"> <drools:script><![CDATA [System.out.println("22");] ]></drools:script> </drools:onEntry-script> <drools:onEntry-script scriptFormat="http://www.java.com/java"> <drools:script><![CDATA [System.out.println("23");] ]></drools:script> </drools:onEntry-script> <drools:onEntry-script scriptFormat="http://www.java.com/java"> <drools:script><![CDATA [System.out.println("24");] ]></drools:script> </drools:onEntry-script> ... -----------

    Description

      If task has multiple OnEntry-script/OnExit-script as an action,
      only the 1st one is shown in properties editor even though subsequent scripts exists in bpmn2.

      If the same process is opened by process designer on Business Central,
      multiple scripts are shown and managed. but in fact, these are consolidated into one script element automatically.

      This problematic process was generated by jBPM designer of BRMS 5 and is going to be migrated to BPMN6 environment.

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            rhn-support-hmiura Hiroko Miura
            Tomas David Tomas David
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: