roxy1987 [
https://community.jboss.org/people/roxy1987] created the discussion
"Re: Getting activity coordinates"
To view the discussion, visit:
https://community.jboss.org/message/800836#800836
--------------------------------------------------------------
Got the coordinates using
List<NodeInstanceLog> nodeInstanceLogList;
for (Node node : (Node[])((WorkflowProcessImpl) process).getNodes())
{
nodeInstanceLogList =
JPAProcessInstanceDbLog.findNodeInstances(Long.parseLong(processInstanceId), new
Long(node.getId()).toString());
if(nodeInstanceLogList.size() == 1)
{
coordinates.add(node.getMetaData().get("x")+"");
coordinates.add(node.getMetaData().get("y")+"");
coordinates.add(node.getMetaData().get("height")+"");
coordinates.add(node.getMetaData().get("width")+"");
}
}
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/800836#800836]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]