+ Start a Discussion
Luffy Carl_opLuffy Carl_op 

How to write the script in Workflow Rule?

Hello, at now, I want send e-mails to the users in my system, who have a exceptional report. I have written the Text Email Template, but I can't write the script of Workflow Rule.Is there anyone could help me with this rule? This may means: in oneday, the user did't login(the login__c will be null of this day before 24:00), system will send e-mail to him/her in 24:00.
Ashish_Sharma_DEVSFDCAshish_Sharma_DEVSFDC
Hi Luffy,

I don't think that this can be achieved by workflow.

You can write a batch job that will execute on specific time ,and can send emails to users whose login history for the day is null.

Let us know if it helps.