As mentioned in JBPM 5.4 documentation for process upgrade we need to map NODE IDs for upgrading a process. For mapping a map has to be created as Map<String, Long>. I am unable to find Id for a BPMN2 generated through Guvnpr Designer. The id I found there is in String format.
Question how to get node id in Long ?
Map<String, Long> mapping = new HashMap<String, Long>();
// top level node 2 is mapped to a new node with id 3
// node 2, which is part of composite node 5, is mapped to a new node with id 4