Repeating Salesforce Workflow actions every x days

0 votes
I'm a salesforce administrator, and every 90 days, I'm supposed to generate a new task based on a date.

I made a workflow rule that creates a new task 90 days after the data has been filed (Initial bill date 2 in my case).

The data field on which I'm basing my calculations is a formula field. I attempted to update the field by adding 90 (Initial Bill Date 2 + 90) using a field Update action, however I read Workflow rules considerations:

Prior to email notifications, tasks, and outgoing messages, field updates are made. -Field update action is not accessible for read-only fields such as formula or auto-number fields.

I've established a workflow rule that starts a time-dependent new task 90 days after the initial bill date 2. I'm having trouble figuring out how to do this every 90 days.

Is there anyone who can provide an answer?
Mar 16, 2022 in SalesForce by surbhi
• 3,820 points
383 views

1 answer to this question.

0 votes

Workflow Rules and Process Builder's time-dependent operations do not repeat. For each eligible invocation of the Workflow or Process, the platform enqueues them exactly once. That is, the record is modified, it meets the Workflow's entry criteria, and then a single time-dependent action is enqueued.

You can create chains of declarative automations to update records in such a way that Workflow criteria are reevaluated and actions are rescheduled. This, on the other hand, is complicated, difficult to reason about, and prone to errors. Furthermore, the processing limit for time-dependent activities is only 1,000 per hour, which is quite simple to exceed if you use the feature frequently.

Instead, consider using an open source programme like Doug Ayers' Mass Action Scheduler to automate certain actions.

Hope this helps!

Learn more about Salesforce workflow actions here by enrolling in Salesforce Certification Training.

Thanks!

answered Mar 17, 2022 by CoolCoder
• 4,420 points

Related Questions In SalesForce

0 votes
0 answers

Salesforce Apex SingleEmailMessage with Template to User not contact

Im trying to send an email in ...READ MORE

Feb 28, 2022 in SalesForce by surbhi
• 3,820 points
3,041 views
0 votes
0 answers

Salesforce Test Class - System.NullPointerException: Attempt to de-reference a null object

Salesforce Test Class - Facing - System.NullPointerException: ...READ MORE

Mar 1, 2022 in SalesForce by surbhi
• 3,820 points
2,084 views
0 votes
0 answers

How to take test.salesforce.com while deployment as salesforce login url for api connection logic app?

In logic app i'm using salesforce connector after deployment ...READ MORE

Mar 1, 2022 in SalesForce by surbhi
• 3,820 points
1,065 views
0 votes
1 answer

Salesforce Test Class - System.NullPointerException: Attempt to de-reference a null object

Because testAccount.account is never set, it is ...READ MORE

answered Mar 2, 2022 in SalesForce by surbhi
• 3,820 points
2,886 views
+2 votes
2 answers

Salesforce Interview questions

Here are some questions very important for ...READ MORE

answered Jan 11, 2019 in Career Counselling by Suresh
• 720 points
3,403 views
0 votes
1 answer

How to connect to salesforce from tableau?

Hi, follow these steps to connect to Salesforce: 1. ...READ MORE

answered Mar 25, 2019 in Tableau by Cherukuri
• 33,030 points
1,045 views
0 votes
1 answer

Power BI - Salesforce

Hi, Follow below steps: 1. Go to Data source. 2. ...READ MORE

answered Mar 25, 2019 in Power BI by Cherukuri
• 33,030 points
759 views
0 votes
2 answers

What is the best training for Salesforce ADM-201 Exam?

Hi @Vardhan, I took Edureka's Salesforce Online Training, ...READ MORE

answered Jun 3, 2021 in Others by Jaya
• 140 points

edited Dec 22, 2021 by Soumya 729 views
0 votes
1 answer

How to add days to date time in Salesforce Apex?

Beware the DST issue! The "addDays" function ...READ MORE

answered Mar 15, 2022 in SalesForce by CoolCoder
• 4,420 points

edited Jun 19, 2023 by Khan Sarfaraz 7,540 views
0 votes
1 answer

Cannot login to Salesforce Sandbox via python API

Set domain='test' and generate a new token ...READ MORE

answered Mar 1, 2022 in SalesForce by CoolCoder
• 4,420 points
1,849 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP