You need to sign in to do that
Don't have an account?
Rule Criteria Question
Hi i have on Opp. a Date/time field called "reminder email"
Now i set up a workflow rule with a time trigger to send an email according to that date/time field (0 hours after date/time field) and chose: When a record is created, or when a record is edited and did not previously meet the rule criteria and criteria are met
the criteria is "reminder email" not equal to : blank
now my problem is if that date is changed, a new time based workflow will not be created for the new date, unless i erase that field , save the page, then put in a new date/time
could i use maybe a: formula evaluate to true type of criteria?
with maybe like a formula that says: whenever new value not equal to old value fire workflow rule?
if that is good or if you have any other solution, please let me know how
Thx
Your underlying assumption, while intuitive, is incorrect. If you change the date/time field, the time-based workflow will recalculate, even if that date/time field was filled before. You can test this in the following way:
All Answers
Instead of using Rule Criteria, I would use a Formula that uses ISCHANGED and PRIORVALUE to evaluate the Reminder Date and recalculate the Email Alert.
I try to stay away from using WFR Criteria unless it is a really simple trigger.
Unfortunately, as i was trying this method this morning i got the following errors
Function PRIORVALUE may not be used in this type of formula
Function ISCHANGED may not be used in this type of formula
just to make sure we are on the same page, what i'm tryng to do is create a rule: formula evaluates to true
that the date/time has changed and to create a new time-based workflow
thx
When is your WFR Firing? PRIORVAL and ISCHANGED can only be used if it's set to Every Time the Record is Edited.
Ok i did not know that
but it won't work for me as this needs to be a time based workflow , i need the WFR to be fired on the date and time of that field (reminder email) which is always in the future.
and when i select Every time a record is created or edited it tells me:
<script type="text/javascript"></script>
<script type="text/javascript"></script>
<script type="text/javascript">// Thx anyways :) if (window.sfdcPage) sfdcPage.registerMessage('noTimeDependentActionsInfo'); // </script>
Can you post a screenshot of your WFR?
here's 2 screenshot, let me know if need additional
http://img600.imageshack.us/i/25106629.jpg/
http://img829.imageshack.us/i/98506900.jpg/
thx
Sorry Dave, but I got a suspicious pop-up message when I clicked on those links, so I don't really trust that site.
Can you just emded the screenshots using either the upload image link, or url link like this?
No problem, when i tried before it gave me like a broken link image
so let me try this way
[URL=http://img600.imageshack.us/i/25106629.jpg/][IMG]http://img600.imageshack.us/img600/3425/25106629.jpg[/IMG][/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]
[URL=http://img829.imageshack.us/i/98506900.jpg/][IMG]http://img829.imageshack.us/img829/4849/98506900.jpg[/IMG][/URL]
Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]
Ok it doesn't work like a forum :)
Your underlying assumption, while intuitive, is incorrect. If you change the date/time field, the time-based workflow will recalculate, even if that date/time field was filled before. You can test this in the following way:
Well Thomas Thank you very much :) you are a 100% right!!!
I was breaking my head and Steve's head for nothing.
Well life is a learning experience....
Thx all of you