2 Replies Latest reply on Jan 18, 2013 5:04 PM by Tihomir Surdilovic

    JBPM Designer - Task script box lose the format

    Danilo Rizzo Newbie

      Hello All,


      I started using guvnor+designer to build my process.

      I noticed that for the task script the code format is lost as soon as Ok button is clicked.


      - For example I added the following;


      System.out.println("Found " + history.getValues().size() + " transactions");

      - Click Ok button

      - now I see (without CR character):

      kcontext.setVariable("transactions",history.getValues());System.out.println("Found " + history.getValues().size() + " transactions");


      I think it's something related to the Ok button, becuase if I modify the xml file directly I'm able to reopen the script properly formatted.


      Is somebody of you getting a similar scenario?