Help with a method directive

What do you expect to achieve?

Your Exception will be executed if
1. One of the field in the () block will be changed
AND
2. The user making the changes is NOT in the gPartEdit Group.

Of course your BPM will NOT PREVENT from:
adding the NEW Part
creating in NEW created part a NEW revision
deleting the EXISITNG Part

Grzegorz Szczepański

Dnia Tue, 28 Apr 2009 13:10:39 -0700 (PDT)
Tony Hughes <thughes281@...> napisał(a):

>
> I put this on the Part.Update, pre-processing:
>
> CONDITION:
> (the ttPart.PartDescription field has been changed from any to any
> or the ttPart.TypeCode field has been changed from any to any
> or the ttPart.ProdCode field has been changed from any to any
> or the ttPart.ClassID field has been changed from any to any
> or the ttPartRev.RevisionNum field has been changed from any to any
> or the ttPartRev.EffectiveDate field has been changed from any to any
> or the ttPartRev.RevShortDesc field has been changed from any to any)
> and
> the user called the method does not belong to gPartEdt Group group
>
> ACTION:
> Raise exception
>
>
> The Exception will raise regardless of what changes on the form.
>
>
> What am I doing wrong?
>
> thank you
>
>
>
I put this on the Part.Update, pre-processing:

CONDITION:
(the ttPart.PartDescription field has been changed from any to any
or the ttPart.TypeCode field has been changed from any to any
or the ttPart.ProdCode field has been changed from any to any
or the ttPart.ClassID field has been changed from any to any
or the ttPartRev.RevisionNum field has been changed from any to any
or the ttPartRev.EffectiveDate field has been changed from any to any
or the ttPartRev.RevShortDesc field has been changed from any to any)
and
the user called the method does not belong to gPartEdt Group group

ACTION:
Raise exception


The Exception will raise regardless of what changes on the form.


What am I doing wrong?

thank you