Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-142

Unable to open a process definition in editor mode in business-central 6.4.6 if On Exit/Entry Script field is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.GA
    • 6.x.x
    • Business Central
    • JBDS 11
      BPM Suite 6.4.6

    • CR1
    • Workaround Exists
    • Hide

      Go into the xml and remove the empty on-entry/exit script tag manually.

      Show
      Go into the xml and remove the empty on-entry/exit script tag manually.
    • Hide

      1. Install JBDS 11.1;
      2. Install Drools and jBPM Plug-in;
      3. Created a jBPM project from Wizard and added an User Task;
      4. In User Task - On Entry and On Exit Script fields, add a simple java code such as: System.out.println("Hi");
      5. Save process definition;
      6. Delete text in on entry/exit script fields;
      7. Save process definition.;
      8. Observe in the xml an empty on entry/exit script tag such as:

      ~~~
      <tns:onEntry-script scriptFormat="http://www.java.com/java"/>
      ~~~
      Note that this tag declares the scriptFormat but does not have a subsequent <script> tag. This will cause an error when viewing the process diagram in business central.

      9. Upload it to business-central and try to open it.

      Show
      1. Install JBDS 11.1; 2. Install Drools and jBPM Plug-in; 3. Created a jBPM project from Wizard and added an User Task; 4. In User Task - On Entry and On Exit Script fields, add a simple java code such as: System.out.println("Hi"); 5. Save process definition; 6. Delete text in on entry/exit script fields; 7. Save process definition.; 8. Observe in the xml an empty on entry/exit script tag such as: ~~~ <tns:onEntry-script scriptFormat="http://www.java.com/java"/> ~~~ Note that this tag declares the scriptFormat but does not have a subsequent <script> tag. This will cause an error when viewing the process diagram in business central. 9. Upload it to business-central and try to open it.
    • 2017 Week 49-50

    Description

      The issue happens when creating a process definition in JBDS 11 which had on entry/exit script removed for any task node, then imported to business-central. By trying to open it, it opens only as XML editor.

      It happened only in BPM Suite 6.4.6, it opened properly in 6.4.5. Pleaser see attached a bpmn file which could be used for tests.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-ajuricic Amana Juricic
              Kirill Gaevskii Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: