variables.add(pvds[i]);
}
if(roles!=null)
for(int i=0; i<roles.length; i++){
RolePointingProcessVariable rolePV = new RolePointingProcessVariable();
rolePV.setRole(roles[i]);
variables.add(rolePV);
}
variables.add(new InstancePropertyPointingProcessVariable("InstanceId"));