« 5 Steps to a Successful Salesforce Campaign | Main | Oracle Buys Instantis »

Create A "Between Two Dates" Trigger



Workflows in Salesforce

give you the ability to enforce your business processes. Below, is a code for a Workflow Rule that will have a checkbox field marked if a date is within 90 days. If the date is not within the 90 days, the checkbox will be unchecked:


IF (AND(LastDate__c > TODAY(), FirstDate__c < TODAY()), "Yes", "No")


PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
All HTML will be escaped. Hyperlinks will be created for URLs automatically.