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

We have a custom object called Worklog.

This custom object (Worklog) has a custom field (Worklog_User__c) which is a lookup to an salesforce user.

This user should get a notification whenever a record is created for this custom object with him/her being the associated user in that lookup field (Worklog_User__c)

We are trying to use the out of the box (Workflow Rules -> Email Alerts) feature for this.

We are stuck because there is no provision available to specify the email of the worklog user.

I have attached the screenshot also..hope it helps.

Can someone tell me whether I can use out of the box feature for this ?

share|improve this question
up vote 3 down vote accepted

Lookup fields to the user object should be available under 'Related User', not 'User'.

enter image description here

The available recipients in my example are all the custom user lookup fields I have on the account object.

share|improve this answer
Hi Ninja..Appreciate the answer..Just one more thing..Is it possible to reference a user lookup field in the parent object of this Worklog custom object ?. – ZenSeeker Aug 7 '14 at 12:57
I don't believe so no, but you could create an email field on the child and use a WFR rule to populate the email field of the child from the parent. – Chris Duncombe Aug 7 '14 at 13:19
Accepted as the answer :)..Thanks and one last newbie question..I assume that in WF the Immediate Workflow Actions get executed in sequence am i right ? – ZenSeeker Aug 7 '14 at 14:09
Actually no, not necessarily. The order is undefined and you cannot guarantee the order of execution. :( – Chris Duncombe Aug 7 '14 at 14:11
Hi Ninja - Thanks for help so far. What about this ?. Step 1 - WF evaluation criteria will be whether email is populated and a checkbox (new field which I will create with default value as false) is false or not. Step 2 - After the evaluation criteria there I assume that there will not be anymore evaluation Step 3 - As one of the immediate WF actions, I will create an email alert Step 4 - As one of the immediate WF actions, I will set the checkbox (mentioned in step1) as true So WF will not be re-evaluated in this session I guess order of Step 3 & 4 should not be an issue.What do you think ? – ZenSeeker Aug 7 '14 at 14:40

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.