Cannot print new line using \n in script task in BPMS 6.1

Solution Unverified - Updated -

Issue

When we use \n in script task in business central project build failed with exception:

Process Compilation error String literal is not properly closed by a double-quote
  • Steps to replicate issue:
    1. Create simple BPMN process which contains script task.
    2. Add following SOP statement in script
      System.out.println("\n");
    3. Now try to build project, build will fail with exception.

Environment

  • Red Hat JBoss BPM Suite
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content