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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.