Post

1 follower Follow
0
Avatar

Validation Rule Not Allowing someone in a certain group to be picked as the Manager of a project

I need help with a rule that will only let certain people be selected as the Manager of a project.  I created a group called DevMgrs to house the people.  Would I use a Not in group kind of statement?  What field do I pull on for Manager - display name, user name?  This is what I have:

Not(IsMemberOf('DevMgrs', $Manager.DisplayName))

Is that right?

When I tested it I got a validation message but it also generated 2 error emails.

An error occurred while executing action New Object in a customization named Trouble Report: An error occurred while evaluating the criteria for Validation Rule 'Not a DevMgr'. 

The following error message was received: ''User' object 'Hankley, Shel' not found'.

Import from old forum Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi Shel, 

The formula you should enter in the evaluation critieria is:

Not(IsMemberOf('DevMgrs',$ProjectManager))

Let me know if that works and if you are still receiving error emails. 

Thanks!

Helena

Import from old forum 0 votes
Comment actions Permalink
0
Avatar

Hi
Shel, 

The formula you
should enter in the evaluation critieria
is:

Not(IsMemberOf('DevMgrs',$ProjectManager))

Let
me know if that works and if you are still receiving error
emails.

Import from old forum 0 votes
Comment actions Permalink