Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there anyway that I could update "Case Owner" in Case object to the "created by" Field value using the Workflow? Any help is much appreciated.

share|improve this question
Out of the box it's supposed to work like that. If your owner changes it indicates some assignment rules, workflows or triggers that change it. Check the debug log, maybe you'll find something and for example build an exception into the assignments? Or change some apex controller to not use assignment rules if it's on 1 special page that you need it... – eyescream Feb 5 '14 at 6:10
up vote 3 down vote accepted

I'm not sure this can be via workflow as workflows require specific users to be specified for the owner, or a case queue.

You could do this with a quick trigger (warning: untested code!)

trigger Case_BeforeInsertUpdate(before insert, before update)
  for(Case c :
    c.OwnerId = c.CreatedById;
share|improve this answer

This cannot be done with workflow because you would need to specify the specific user beforehand, it is not dynamic. A trigger must be used here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.