return ei.getInstanceID();
}
public void start(InstanceID id) {
Instance instance = getInstanceByID(id);
/*
* now make a token
*/
BusinessProcess bp = businessProcessService.getGraphByID(instance.getBusinessProcessID());
InstanceID instanceID = instance.getInstanceID();
Node root = bp.getRoot();
NodeID nodeId = root.getNodeId();
Token token = tokenService.newToken(instanceID, nodeId, Token.PRE);
/*