Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here
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
  • 500k
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
  • 72.6k
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

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.3k
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

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
  • 151k
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
  • 151k
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
4 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
  • 72.6k
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

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

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.8k
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,530
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
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
  • 500k
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
  • 63.3k
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

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
  • 500k
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

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,530
2 votes

what is the daily limit of time based workflow email alert?

The daily allocation for emails sent through email alerts is 1,000 per standard Salesforce license per org—except for free Developer Edition and trial orgs, where the daily workflow email allocation ...
Abhishek Daware's user avatar
2 votes
Accepted

Problem BEGINS() Workflow

Saumya. Logically your test must return true. OR( NOT(BEGINS( "1111" , "1")), NOT(BEGINS("1111" , "2")), ISBLANK( "1111" ) ) Returns OR(false, true, false) = true. You might need to fix the ...
Vladimir Egikyan's user avatar
2 votes
Accepted

Process Builder scheduled action changed - Time for Actions to Execute

Rather than searching and deleting interview records, you can run a SOQL query where due date is on future date where those interviews have been queued. Run a DML update operation on the ...
Santanu Boral's user avatar
2 votes
Accepted

Limitations of process builder scheduled actions

This is the process limit. You can refer it. Process Limits You will hit the limit but you can still use them. Once Salesforce reach the limit it carries forward them into next hours and Salesforce ...
Tushar Sharma's user avatar
2 votes

How to send daily reminders/email alerts before event start date

Create a field in Assigned task object called Reminder Date. When the record is created then update Reminder Date as = Event Start Date - 20 with workflow field update. Create a workflow rule based ...
Santanu Boral's user avatar
2 votes
Accepted

Time based SMS - Any solution?

There is a hack somewhere on the Internet that sets the date field (maybe a copy of the actual field) to 55 min before the actual time so that the time trigger works in the next 5 min. However, that ...
Prashanth K's user avatar
2 votes
Accepted

Variable number of days for time based workflows

You can use a formula field that returns a date or date/time based on whatever variable calculations you'd like to use, then specify the time-based action as "0 hours after Formula Field". In short, ...
sfdcfox's user avatar
  • 500k
2 votes
Accepted

In an unit test for an LWC, how can I prove a method executes periodically according to metadata configuration?

Turns out, setting the public property is surprisingly straight-forward. All I needed to do is: // Act priceUnderTest.refreshRateInSeconds = 10; document.body.appendChild(...
Brian Kessler's user avatar
2 votes
Accepted

How to automatically update Status to Expired on Contracts when they expire?

It's important to note that while this automation is set up correctly, affected records must be edited at least once in order to be scheduled by the system. In other words, you will need to use an ETL ...
sfdcfox's user avatar
  • 500k

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