Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
7 votes
Accepted

Do time-based workflow rules cause triggers to fire?

Any field update from a Workflow Rule/Process Builder/Apex Trigger will cause update triggers on affected records to fire.
Adrian Larson's user avatar
  • 150k
7 votes
Accepted

Hourly limit exceeded for processing workflow time triggers

Salesforce does not throw the triggers away if it goes over the hourly limit it just queues it up for the next hour. So in your example of 3,000 workflow time triggers firing at once. Which seems ...
Dan Wooding's user avatar
  • 3,578
6 votes
Accepted

What table(s) store Time-Based Workflow and can I delete those records with Flow or Apex?

The object you're looking for is the WorkflowTimeQueue. However, it does not appear to be accessible from Apex Code or the API, so there's no way you can clear pending entries, other than manually ...
sfdcfox's user avatar
  • 493k
6 votes
Accepted

Do scheduled paths get evaluated/canceled when Record-triggered flow version changes?

The short answer is NO; the new flow version's entry criteria gets applied to pending scheduled paths generated by prior flow versions I did an experiment: Create a Flow Version 1 with entry ...
cropredy's user avatar
  • 71.7k
5 votes
Accepted

Prevention of Lead conversion as it has a time based action queued

I think, you are creating time based action based on created date and this time based action is getting queued. I would suggest you to create a separate datetime field, let's say Action DateTime ...
Santanu Boral's user avatar
4 votes

Update check box using workflow

Go to Setup Menu->Create->Workflows->Process Builder->New-> NameYourProcess Save Add Object You wanna make this workflow work On Mark "when a record is created or edited" Save Add Criteria -> ...
Alexander Aeons Torn's user avatar
4 votes
Accepted

Time based workflow actions

I dont think you are allowed to change the time triggers if you have old records pending actions in the queue. You can check the limitations here on the salesforce documentation. https://help....
Swati's user avatar
  • 121
4 votes

Time dependent workflow firing always

This is working as designed. If the close date is 2 weeks from today and the WFR is supposed to send an alert 30 days before, it will send immediately as it is < 30 days before the close date. To ...
Eric's user avatar
  • 54.2k
4 votes

Time Dependent Workflow with multiple email alerts

I think this work this way because of the queue system, it run all the "outdated" action to be executed in the next hour it is inserted, if you see the considerations for this kind of process, it ...
sebmaldo's user avatar
4 votes
Accepted

Time based criteria action without modifying record

See the Time-Based Workflow FAQ (Knowledge Article Number 000005245) (emphasis mine): Will the pending actions in the queue ALWAYS trigger? No. Time-dependent actions remain in the Workflow ...
Adrian Larson's user avatar
  • 150k
4 votes
Accepted

How to update record after some time based on certain criteria?

See the Time-Based Workflow FAQ: Will the pending actions in the queue ALWAYS trigger? No. Time-dependent actions remain in the Workflow Queue until processed or the rule criteria for the ...
Adrian Larson's user avatar
  • 150k
4 votes
Accepted

How to stop workflow execution when Task Status is set to "Completed"?

You should include status not equal to Completed in the rule criteria. Refer Will the pending actions in the queue ALWAYS trigger? Time-dependent actions remain in the Workflow Queue until ...
Santanu Boral's user avatar
3 votes
Accepted

Time Dependent Workflow with multiple email alerts

As @sebmaldo stated in his answer - all time-dependent actions with a date in the past start executing right away. To avoid this, you have to include date validation in your criteria, and this will ...
o-lexi's user avatar
  • 3,094
3 votes
Accepted

Time base workflow rule trigger fire in less than 1 hour - not working

Adding my comments as an answer... Bear in mind that time based workflow does NOT run to the exact minute: Time based workflow actions will not always execute at the exact time displayed in the ...
Girbot's user avatar
  • 5,465
3 votes

Time Based Workflow on date field to consider week-days only

You can write a formula to get the day of the week as below. Explained in this link. CASE(MOD( {!CloseDate} - DATE(1900, 1, 6), 7), 0, "Saturday", 1, "Sunday", 2,"Monday", 3, "Tuesday", 4, "Wednesday"...
Saroj Bera's user avatar
  • 14.7k
3 votes
Accepted

Process Builder still fires timed actions even when it no longer qualifies

Not sure if this changed since the original post, but I had the same problem, this is what I found ultimately in sf help. https://help.salesforce.com/articleView?id=...
FRED TCHANG's user avatar
3 votes

I want to change the record type of contact if 6 months has passed since 'last communication date'

Workflow rules only fire when records are created or edited. Assuming that Date of Last Communication is not a formula (e.g. it contains real data), you can set your workflow rule criteria as: ...
sfdcfox's user avatar
  • 493k
3 votes

Need Feedback on a Scheduled Job

If you set your time based workflow to get set up at insert as well, or rather when the expiration date is added/updated, won't it work even if the user never updates the quote later on ?
Jitender Padda's user avatar
3 votes
Accepted

Create a Task if Contact is in certain status for 10 days

I'm not sure why you'd use a Workflow Rule for this. Simply build this in the Process Builder or Workflow Rule entirely. As for the Process Builder, it would be: Trigger when a record is modified ...
sfdcfox's user avatar
  • 493k
3 votes

How can I update a date field with a formula result?

Validation rules cannot update data. As the name would imply, a validation rule simply validates data. The result of a formula for a validation rule must always be a boolean, as indicated by the ...
Derek F's user avatar
  • 62k
3 votes
Accepted

Organization-Wide Email Addresses

Because workflow running in system mode. It means it will ignore Profile and field level Security. That's why Workflow always pick the Organization-Wide Email Addresse. Referance link: http://www....
Chandra Kiran's user avatar
3 votes
Accepted

Why does my Record-triggered Flow Scheduled Path not show up in Time-Based Workflow query results?

Unlike Workflow time-dependent actions where the query Object equals Opportunity would work, for some inexplicable reason, when using Flow Scheduled Paths .. Even though they are associated with a ...
cropredy's user avatar
  • 71.7k
3 votes

Auto update cases after time x

Yes, but technically it could end up missing records in some edge cases. I'd say it'd be more reliable to use a Record Triggered Flow with a Scheduled Path set to either five days after Last Modified ...
sfdcfox's user avatar
  • 493k
2 votes
Accepted

unable to run Time dependent workflow with these conditions

You need to separate the Entry Criteria from the Time Trigger. The criteria for the rule should just be the Stage, and maybe to check that the Close Date is in the future. Close Date greater than or ...
Jeremy Nottingham's user avatar
2 votes
Accepted

Can I send daily Reminder Emails with a List of Open Cases?

You can Schedule a report which will send open cases to your user. Step 1 : Step 2 :
Himanshu's user avatar
  • 10.5k
2 votes
Accepted

Replicate Time Dependent / Scheduled Action Using Apex Code

You can't schedule Queueable/Future/Batchable classes directly (except that we do have Database.scheduleBatch, which lets us specify a batch X minutes in the future), we're limited to the number of ...
sfdcfox's user avatar
  • 493k
2 votes
Accepted

Time Dependant Workflows and transactions

Assuming they are first up in the queue, they will be one transaction. I have verified this by doing exactly that: I configured a Time-Based Workflow Rule with a field update, then created 10 records ...
sfdcfox's user avatar
  • 493k
2 votes

Issue with Apex triggers that fire as a result of time-dependent actions

Recently I saw the below article on the considerations for time dependent workflow; where the Salesforce is saying the time dependent workflow action may run individually or in group and we should not ...
crmprogdev's user avatar
2 votes

Hourly limit exceeded for processing workflow time triggers

Referring to this knowledge article titled Time Based Workflow Execution Interval is 15 minutes which has a somewhat misleading title as the last line below seems to give the definitive answer to your ...
crmprogdev's user avatar
2 votes

Workflow limits and alternate approach

Yes there is an hourly limit of 500 for enterprise edition and 1000 from unlimited. You are correct in saying that it will eventually catch up: Salesforce limits the number of time triggers an ...
Girbot's user avatar
  • 5,465

Only top scored, non community-wiki answers of a minimum length are eligible