roleMapping.setName(newRoleName);
humanActivity.delegate(instance, roleMapping, false);
//add mail notification
humanActivity.afterExecute(instance);
return humanActivity.getTaskIds(instance);
}catch(Exception e){
e.printStackTrace();
throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);