By default, the rest and explorer applications use an in-memory database, they won’t see data of each other. You need to use a persistent database (mysql, postgres, oracle, …) and configure the application such that they both point to the same database.
I have already configure with postgres DB…
actually pragmatically i am generating xml file.Plz find the xml attachment.
But i am not able to write xml for bpmndi:BPMNShape section, I need java code snippet to generate that part of xml only