var role = iWorkflowModule.getRole( iContext, iWorkflowInstance.getCatalog(), "Vérificateur" ); if ( iUser.isMemberOf(role, true) ) log.info( "The user " + iUser.getFullName() + " is member of " + role.getLabel() + " role." ); else log.info( "The user " + iUser.getFullName() + " is member of " + role.getLabel() + " role." );