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

"mismatched character" error due to BPM Suite removing "\" from On Entry-Exit Action Scripts

XMLWordPrintable

    • CR1
    • Hide

      no.

      Show
      no.
    • Hide

      1. import attached *.bpmn2 file to business-central;
      2. click on Script Task -> Script property: it looks Ok with all "\" slashes;
      3. click on "On Entry Action" property -> it is missing "\" slashes;
      4. even if you copy Script content to On Entry Action, it will remove slashes after saving and re-opening the process definition.

      Show
      1. import attached *.bpmn2 file to business-central; 2. click on Script Task -> Script property: it looks Ok with all "\" slashes; 3. click on "On Entry Action" property -> it is missing "\" slashes; 4. even if you copy Script content to On Entry Action, it will remove slashes after saving and re-opening the process definition.
    • 2017 Week 34-35, 2017 Week 36-37

      BPM Suite 6 removes "\" from "On Entry-Exit Action" fields after saving a process definition which results in "mismatched character".

      In a Script Task, it happens only in "On Entry-Exit Action" fields, it works well for Script field. For instance:

      Before saving (Script Task - "On Entry Action" field):

      String pName = "product";
      String link =  "<a href=\"#\" onclick=\"window.open('" + pName + "', '', 'width=800,height=600,toolbar=0,status=0');\">View Instruction</a>";
      

      After saving:

      String pName = "product";
      String link =  "<a href="#" onclick="window.open('" + pName + "', '', 'width=800,height=600,toolbar=0,status=0');">View Instruction</a>";
      

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-ajuricic Amana Juricic
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: