}
private void attemptToCreateWorklist(String userName) throws YPersistenceException, YAuthenticationException {
Set users = _engineManagement.getUsers();
User user = null;
boolean userfound = false;
for (Iterator iterator = users.iterator(); iterator.hasNext();) {
user = (User) iterator.next();
if (user.getUserID().equals(userName)) {
userfound = true;
}
}
if (!userfound) {
user = UserList.getInstance().addUser(userName, "password", false);