}
return roles;
}
public GraphActivity GraphClone(GraphActivity graph,int actIndex) throws Exception{
Activity actCopy = new LocalMessengerActivity();
actCopy.setName(graph.getReferenceActivity().getName().getText());
String trcTag= String.valueOf(1000+actIndex);
actCopy.setTracingTag(trcTag);
GraphActivity graphCopy = new GraphActivity(actCopy);
graphCopy.incoming = graph.incoming;
graphCopy.outgoing = graph.outgoing;
Vector<GraphActivity> incoming = graph.incoming;