[jboss-user] [jBPM] - JBPM Designer - Task script box lose the format

Danilo Rizzo do-not-reply at jboss.com
Mon Jan 7 05:14:39 EST 2013

Danilo Rizzo [https://community.jboss.org/people/drjbpm] created the discussion

"JBPM Designer - Task script box lose the format"

To view the discussion, visit: https://community.jboss.org/message/788704#788704

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? 


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130107/b4d2737a/attachment.html 

More information about the jboss-user mailing list