Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4985

Script field of Script task contains \n and \t instead of new line and tabulation

XMLWordPrintable

    • NEW
    • NEW
    • Show
      commits: https://github.com/droolsjbpm/jbpm-designer/commit/353244ef294a598e6659f7273fd259022e5d7810 https://github.com/droolsjbpm/jbpm-designer/commit/83a34f90a1a1276e81c09b26f21d209dda42b3af
    • Hide

      1.Create Business Process with script task
      2.Set script for script task for example:
      System.out.println("Sending Proposal to: "+mail);
      System.out.println(" \t Acme Inc. offers you: "+offering);
      3.Open Process Documentation tab and look at the Script filed of Script task it will contain:
      \tSystem.out.println("Sending Proposal to: "+mail);\n\tSystem.out.println("
      t Acme Inc. offers you: "+offering);

      Show
      1.Create Business Process with script task 2.Set script for script task for example: System.out.println("Sending Proposal to: "+mail); System.out.println(" \t Acme Inc. offers you: "+offering); 3.Open Process Documentation tab and look at the Script filed of Script task it will contain: \tSystem.out.println("Sending Proposal to: "+mail);\n\tSystem.out.println(" t Acme Inc. offers you: "+offering);

      Process Documentation "Script" field of Script task contains "\n" and "\t" instead of new line and tabulation.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              kgaevski@redhat.com Kirill Gaevskii
              Kirill Gaevskii Kirill Gaevskii
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: