on-entry/-exit actions are unfortunately not part of the BPMN2 specification, so there's no default way to save that in BPMN2 XML. I'll be adding support for them though as a custom extension, so you can use them as you were used to in jBPM4 / Drools Flow.
Kris