JBoss Community

JBPM Designer - Task script box lose the format

created by Danilo Rizzo in jBPM - View the full discussion

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;

kcontext.setVariable("transactions",history.getValues());

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?

 

Thanks

Danilo

Reply to this message by going to Community

Start a new discussion in jBPM at Community