This topic contains 2 replies, has 0 voices, and was last updated by mcelosa 8 years, 9 months ago.

  • Author
    Posts
  • #9991

    jokell

    I have a workflow that will lock certain fields on a transaction, but I would like to exclude that workflow from running if the user is in an admin role. I tried using a custom formula:

    Code:
    [userrole} != Administrator
    But that doesn’t seem to do anything. Any tips?
    This is a cached copy. Click here to see the original post.

  • #9992

    michoel

    You need to use the internalid of the role, in the case of Administrator this is 3.

    Code:
    {userrole} != 3

  • #9993

    mcelosa

    You can also do this in the UI via the Condition Visual Builder.

    Field = User Role

    Compare Type = none of

    Selection = Administrator

You must be logged in to reply to this topic.