Hi Yolanda,

Using $GROUPS$ or $GROUPID$ to query for membership is always a bit messy
and error prone.  There is a run process purpose built for this type of
activity, you just need to do a 2 step process instead of trying to do it
all in your Run If qual.

You set a field with this run process with the appropriate groupID
specified and then if the contents of the field you set is a 1 then qualify
your workflow on that, if it's a 0, they are not part of the group.  If you
want to check multiple groups usually you would have multiple hidden fields
that can be leveraged and all checked in your target workflow, BMC does
this in many areas of ITSM already to confirm the user is part of specific
groups to qualify workflow from.

Application-Confirm-Group groupID
Verifies that the current user is a member of the specified group. Returns
one of the following integers:

    - *1*-The user is a member of the group.
    - *0*-The user is *not* a member of the group, or the specified group
   ID does not correspond to a valid group



On Mon, Apr 22, 2013 at 12:12 PM, Yolanda Collier <
[email protected]> wrote:

> We have a custom application and the customer would like to limit the
> user's ability to change the status, unless that person is a member of a
> particular organization. You must be a member of certain groups in order to
> change the status to Scheduled, Cancelled, or Denied.
>
> We have attempted to used ($GROUPS$ LIKE "%ABC%") OR ($GROUPS$ LIKE
> "%XYZ%") OR (($GROUPS$ LIKE "%DFG%") AND ('Status' = "Scheduled")) OR
> ('Status' = "Cancelled") OR (('Status' = "Denied") AND ('Organization' =
> "EAST"))
>
> and we have attempted to use (NOT ($GROUPS$ LIKE "%ABC%") and it is still
> not working.
>
> Any suggestions on how to successfully implement would be greatly
> appreciated.
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>



-- 
:wq cuga

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to