I'm creating a Workflow that will set a field with the record owner's role during creation.

However, when I try to add the formula (Owner:User.UserRole.Name) I instead get this error: Error: You don't need to specify an object type for the Owner field. Remove User from your formula.

I'm really confused as how to access the Role name for the Owner and I'd really much appreciate any help.


1 Answer 1


You can just use Owner.UserRole.Name in place of Owner:User.UserRole.Name.

  • 1
    @jerarddelavictoria N.B. Owner:User.xxx notation is used when the Owner is polymorphic to Queue and User. This can't happen for Contact.
    – cropredy
    Commented Apr 25, 2017 at 3:14
  • Thanks Adrian, your solution works and thanks also cropredy for explaining that. Now I know why the previous formula didn't work. Again thanks for the quick reply! Commented Apr 25, 2017 at 3:16
  • @cropredy, just a thought, Contact cannot be assigned to a queue, example of standard object which can be assigned to queue: Lead, Case, Order, Knowledge Article Version Commented Apr 25, 2017 at 3:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .