function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
salesforce_newbiesalesforce_newbie 

Workflow Rule Criteria Values

Hi All,

 

I'm trying to create a new workflow.  what I'd like to do is when a 'date applied' field is greater than 14 days old, ie. if a person applied on 1 Jan and it is now the 15 Jan, I'd like to send an email.

I'm new to Visualforce and am trying to learn how to put this into the 'value' section of the 'rules criteria' part of the workflow.  I don't know how to do this..could anyone lend any advice??

 

 

Thanks in advance

Best Answer chosen by Admin (Salesforce Developers) 
salesforce_newbiesalesforce_newbie

Thanks but I figured it out...in Workflow, in the 'Rules Criteria' I changed the 'Run this rule if the following' option from 'Criteria are met' to 'formula evaluates to true'.  And then I was able to enter some code.  :smileyhappy:

All Answers

TehNrdTehNrd

I don't think this has anything to do with Visualforce. Perhaps you can take a look at the documentation on time based workflow.

salesforce_newbiesalesforce_newbie

Thanks but I figured it out...in Workflow, in the 'Rules Criteria' I changed the 'Run this rule if the following' option from 'Criteria are met' to 'formula evaluates to true'.  And then I was able to enter some code.  :smileyhappy:

This was selected as the best answer