Salesforce Winter’14 Release Features-Email notification on password expiration

             Hi, I am't publishing much posts these days because I am busy in completing the requests of my clients. Today, I have got some relief and thus publishing one beautiful feature released in Salesforce winter'14 release Email notification on password expiration.
       In Salesforce Security controls we have a password policies Section "User passwords expire in 30Days or 60Days and 90 Days.The main problem with this approach is that user doesn't get any reminder email before password expiration date. After winter’14 Salesforce given us to create workflow rule on User object. Follow the below steps to do simple.

Create an email template for email notification on password expiration.
  • Click on My SettingsEmail | Email Templates|New Template.
  • Select Custom (without using Letterhead) template.New_email_template
  • Now Enter Email template name and Description.Email_template_name
  • Now Enter Email Subject line and Email Body.Html_Email_Template_body
  • Next to Save the Email template.
Step: 2
Set the Password Policies for your organization.
  • Click on Name | Setup | Administration Setup | Security Controls | Password Policies.
    Select User passwords expire in- In my case I selected 30 Days.Salesforce_Password_policies
Step: 3
            Create one checkbox field on User object, to check workflow entry criteria. For default value select Unchecked option.
  • Click on SetupCustomize | Users|Custom Fields| New.
  • Now Enter field name and default value select Unchecked option.
Create workflow Rule to send an email.
  • Click on Name | Setup | Build | Create | Workflow & Approvals | Workflow Rules| New Rule.
  • Select User object, Click on Next.
  • Enter Rule Name, Evaluate the rule when a record is (Evaluate the rule when a record is created, and any time it’s edited to subsequently meet criteria - To create time dependent workflow) and enter Rule Criteria. Click on Save & Next.
  • Now add workflow immediate action (Field Update) and update flag “Password Expiration notification” to true. once done click on Save.

  • Now Add time trigger to send email alert after 29 days (It means on the 30th Day) of Last password change or reset and we will set flag to  true (Password Expiration notification) also . To do this click on Add Time Trigger.
  • Set the length after how many days email notification should be sent  i.e.  in hours and days, I selected 29 days after Last password change or Reset (it’s automatically updated when you change or reset your password.)
Step: 5
   Now Add two action for time dependent workflow.
  1. Email Alert.
2. Field update for flag “Password Expiration notification” to false.

Finally Click on Done and Activate this workflow.


         So workflow will be fired only when Flag ( We created on User Object) is set to false.Once workflow is fired it will set flag to true. After 29 Days time dependent trigger will fire and it will send an email alert to user and update set the flag to false, then it will meet the workflow entry criteria and queued in time dependent trigger to fire after 29days again.



Apex Apex Default Methods Apex Methods Apex_Collections Apps Batch Apex Books CRM eBooks Data Import Wizard Data Management DataLoader Difference Between Error in Salesforce FAQ's FAQ's-Apex FAQ's-Apps FAQ's-CRM FAQ's-Data loader FAQ's-SOQL & SOSL FAQ'S-Triggers FAQ's-User Profile & Security FAQ's-VF Explorer Ide Formulas & Functions Integration Interview Questions Only Latest_Updates Limits&Best Practices Online-Training Reports and Dashboards Salesforce Deployment Salesforce Realtime Examples On Development Salesforce Realtime Task On Admin Salesforce Realtime Tasks Salesforce Realtime Tasks- Apex Salesforce Training Salesforce1 Mobile Sites SOQL Spring'14 Release Triggers User Profile & Security VF Tags VisualForce Winter'14 Release Wizard for Accounts/Contacts Workbench Workflows and Approvals
Sfdc Gurukul- All in one place for salesforce and step by step tutorial for beginners: Salesforce Winter’14 Release Features-Email notification on password expiration
Salesforce Winter’14 Release Features-Email notification on password expiration
Winter’14 Release Email notification on password expiration,Salesforce Winter’14 Release Features-Email notification on password expiration,salesforce winter 14 new features,
Sfdc Gurukul- All in one place for salesforce and step by step tutorial for beginners
Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy