Questions tagged [time-dependent-workflow]

Time-dependent workflow actions are executed at a specific time, such as ten days before a record’s close date. When that specific time passes, the workflow rule re-evaluates the record to make sure that it still meets the rule criteria. If it does, the workflow rule executes those actions.

Filter by
Sorted by
Tagged with
9 votes
1 answer
9k views

Querying Time-based Workflow Queue

Is it possible to query the content of the Time-based Workflow Queue from an Apex unit test to assess that a specific Workflow Rule has been executed and added a new item to the queue? I didn't see ...
jpmonette's user avatar
  • 4,400
4 votes
1 answer
3k views

Is it possible to delete a queue'd Time Based Workflow using APEX?

I have an after insert/after update trigger which checks for a sub-status of 'Active'. This triggers the conversion of the lead. It has been working great. I am implementing a time based workflow ...
zainogj's user avatar
  • 1,854
9 votes
1 answer
984 views

Kill time-based action scheduled earlier

How can i deactivate the time based workflow action through code. If a time-based WF action is already schedule to send a mail on a date in near future. Can I change the date or deactivate the action ...
amidstCloud's user avatar
  • 2,817
4 votes
1 answer
4k views

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

If I have a Record-triggered after-save Flow with Scheduled Paths, will those scheduled items be removed from the schedule if the Flow's version changes with altered entry criteria? This question was ...
cropredy's user avatar
  • 69.8k
3 votes
1 answer
138 views

Time Dependant Workflows and transactions

The environment setup is as follows: 1) there is a workflow triggered by some criteria which has a time dependent action which will update a field on the object. 2) With apex-code I update a List of ...
T. Rossi's user avatar
  • 747
14 votes
3 answers
9k views

apply new workflow rule and action on existing records

I'm creating a new workflow rule and action (time dependent email alert). The rule is evaluated when the record is "created, and any time it’s edited to subsequently meet criteria." Since it's time ...
PartOfTheOhana's user avatar
11 votes
1 answer
553 views

Bests practices for handling potential errors as a result of time based workflow

Question Any tips or tricks for providing a good user experience when a time-based workflow field update can lead to an exception? Detail For each wrench in the Salesforce toolkit there is often a ...
Ralph Callaway's user avatar
8 votes
2 answers
4k views

Queued Timebase workflow not firing after scheduled date

I have a time-based workflow that should have fired by now. I can see the entry still sitting int the queue. It's now 15 minutes past when it was scheduled to fire. Wondering why it hasn't fired ...
NSjonas's user avatar
  • 10k
5 votes
2 answers
4k views

Executing Workflow Rule in Minutes? (Time Based Workflow)

I am attempting to do a field update every 15 minutes but it seems workflow time triggers start at 1 hour. Is it possible to have workflows execute every 15 minutes? If not, it is possible to have a ...
Thomas Riddler's user avatar
4 votes
1 answer
2k views

Does updating a time-based workflow affect the current queue?

We have several time-based workflows and the queue has a couple of hundred actions pending. We need to update the selection criteria without emptying the queue. My questions are: If the criteria are ...
Mike Chale's user avatar
  • 13.3k
4 votes
1 answer
4k views

Should time-based workflows trigger upon record update that puts trigger date in the past?

I ask because I'm getting conflicting info from the SF documentation On the one hand: What happens if I update the value of a date field used in a time trigger? If you update the date field used ...
smohyee's user avatar
  • 3,752
3 votes
2 answers
3k views

Who is the "Current User" when time based workflow email alert fires

Who is the "Current User" when a time based workflow fires in the future? I have Entitlement Milestone email alerts scheduled in the future, and the "From" (on behalf of) appears to be selected ...
JimRae's user avatar
  • 5,016
3 votes
2 answers
12k views

Hourly limit exceeded for processing workflow time triggers

I think I received this message because too many time-dependent workflows were scheduled. I did a research and what I can find is : https://help.salesforce.com/apex/HTViewHelpDoc?id=...
sfdcnoob's user avatar
  • 1,097
3 votes
1 answer
2k views

Trigger a workflow using another workflow

I am currently using two workflows to check if a record has been updated or not on a daily basis. The first workflow has the following logic : (If RecordName equals 'RECORDNAME' , AND If Status ...
user3197916's user avatar
3 votes
1 answer
4k views

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

I built an after-save record-triggered flow on Opportunity using the Spring 21 Scheduled Path feature. When testing the flow, I went to look at the UX under Setup | Monitoring | Time-Based Workflow ...
cropredy's user avatar
  • 69.8k
3 votes
1 answer
837 views

Time dependent Workflow - converting lead

I have a time dependent workflow on a lead date field, i.e. if a lead is inactive for 30 days, then change the status field to inactive and reassign to an "unassigned leads" queue. The problem is, ...
Lily's user avatar
  • 1,335
2 votes
3 answers
2k views

Time dependent workflow email alert is not received

I have created a site to create case. I have a time dependent workflow in case object which will send email alert after one hour if the case is still at queue. The Workflow action is triggered ...
goodForce's user avatar
  • 1,235
1 vote
2 answers
837 views

Update datetime field for scheduled action in process builder won't trigger action at the new datetime value

I have a process builder that schedule an action when a datetime field on record is reached. After that i update datetime field to a another datetime value. But it seems to me that it never trigger ...
nlonguit's user avatar
1 vote
1 answer
781 views

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

I have a process builder which fires on lead creation. It creates a time based action, which says that a chatter reminder will be posted after 7 days if no activity on the lead has been made. So if ...
Madhurima's user avatar
  • 1,265
1 vote
0 answers
176 views

Need to update field immediately when date is today

Requirement : I have Date field FollowUp date and when the date is today I need to update the field. Sol: I have created a Time dependent Workflow and set the 1 Hr after the FollowUp date. But I need ...
sandy's user avatar
  • 37
1 vote
3 answers
622 views

How are records batched from Time-Based Workflow updates

Wonder how Salesforce handles batching records in relation to execution context. For example, if I have a static variable that tracks the records being processed by a trigger: trigger MyTrigger on ...
NSjonas's user avatar
  • 10k