Questions tagged [scheduled]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
15 views

How do I send an email based on a date difference?

For example, I have some DateTimeField__c, and if DateTimeField__c - NOW() = 11 (hours), I should send an email. Trigger is not a variant, because I can't check with it a formula field. A Scheduled ...
0
votes
1answer
28 views

Run a Autolaunched Flow with Trigger type Scheduled

I have a flow as described in the title. If I click on the 'Run' button i receive the following error: The flow failed to start because the provided values were not valid: Scheduled Flow could only ...
2
votes
1answer
25 views

Scheduled Flow Bulkification

There is not much documentation yet surrounding the release of Scheduled Flows (Winter 20). This article (https://releasenotes.docs.salesforce.com/en-us/winter20/release-notes/...
0
votes
1answer
26 views

Date Field-Driven Update

I have a custom object (Shift) with a date field (Start Time). I have a collection of tasks that I would like to update based on the Shift.Start Time. One approach I've looked into is setting up a ...
0
votes
0answers
20 views

Process Builder to schedule email alert even if not significant change is done

I have a question about scheduled email alerts on Process Builder. I am trying to build a process that upon changing a date field would send an email alert with a reminder 669 days later. It would ...
1
vote
0answers
27 views

How to get passed schedule list(Process Builder) - Flow Interview

I need to get what the completed, deleted and failed schedule list which is run based scheduled Process Builder action. I tried using the flow interview objects but in that, we can only able to get ...
2
votes
1answer
292 views

Process Builder Scheduled Action - will the schedule update if it's based on a date on a parent Record?

I've got a scheduled action that sends an email a day after a date that is managed on a field on a parent record to the record that fires the process. To further complicate it, one of the criteria to ...
0
votes
2answers
2k views

How do I send report results to non Salesforce users by email?

I am trying to automate a report by scheduling the report to run at a date/time and emailing the results to mail group. How do I send report results to mail group? Apparently via the standard ...
0
votes
1answer
36 views

Delete contacts based on an “expiring” field on their record

I have a bunch of contacts whose details have been licensed from other companies. The only caveat to being able to treat them as normal contacts in our Salesforce database is that they must be deleted ...
1
vote
3answers
1k views

Flow On Schedule

I"ve created a flow that I'd like to run monthly on the 7th day of each month. How can I do this with scheduled apex. I have no experience writing apex from scratch. Any suggestions or starting off ...
1
vote
1answer
30 views

How to get the evidence of the email sent for weekly data export?

I configured the Weekly Data Export process logged in as another user with the proper permissions. Now such user is telling me that he didn´t received any email. I also have the data export configured ...
2
votes
1answer
361 views

Scheduled APEX job configured to run monthly but running daily?

I inherited an org that has some APEX scheduled jobs. The configuration pages shows the job to run on the 1st day of each month: In the Scheduled Jobs view, this job appears like it is running daily:...
0
votes
1answer
436 views

Need to get a list of all scheduled reports/dashboards that belong to my organization, each with its running user

As we have a massive number of scheduled reports in our organization this information will be very useful in maintaining the report schedule. Some users are inactive and some reports are failing due ...
0
votes
2answers
160 views

APEX Scheduler Queue Confirmation

I wanted to double check on my scheduler to make sure is was compiled correctly. I need it to run every minute, which is not possible, so I have it scheduled for every 15 minutes. Testing is difficult ...
0
votes
1answer
349 views

Using Continuation without Visualforce

I must check url statuses in scheduled job, but their amount is too big (exceeds limit, which is 100), so I tried to use Continuation object, but I'm not really sure if is it possible to use ...
2
votes
2answers
338 views

Possible to run scheduled apex twice a month x amount of times during those days?

I would like to have my scheduled apex go off twice month for example every 1st and 15th of the month. On the 1st I would like for it to run x amount of times and stop when x is met. And then not ...
1
vote
1answer
426 views

Process Builder vs Workflow - Scheduled Actions - Created OR Edited

I cannot find documentation to verify this. Is it still the case that you CANNOT do a Scheduled Action in Process Builder UNLESS it is on a "record being created" PB? I need to do Scheduled Actions ...
1
vote
1answer
720 views

Process Builder Scheduled Action Fires even after Removing the Action

We have a process builder which is set to start when 'record is created or edited' and this had a scheduled action to update status field. Later we identified we no longer need this action so we ...
0
votes
1answer
431 views

Process Builder Bulk Scheduled Actions Not Working

I have a fairly simple Process Builder where, if leads meet certain conditions, we will re-run the assignment rules. This is done with a scheduled action 0 Hours After LastModifiedDate that calls an ...
1
vote
0answers
31 views

Is it reliable to use undocumented feature to schedule a batch every X hours?

I need some job to be run on schedule every x hours. I see that official documentation claims that none special characters are allowed for hours portion of CRON expression, however, when I try on ...
4
votes
1answer
154 views

Process Builder - scheduled action problem

We have found out a big problem by using Scheduled Action in a process builder. In a process builder we have built a condition that fires when record is in a given status and this condition starts a ...
0
votes
1answer
285 views

How do I set the email FROM address for a scheduled report?

I have several scheduled reports and dashboards set up to be emailed to management and others. All the emails come from my email address (I am the running user as the admin - everyone may see the data ...
0
votes
1answer
227 views

turn an APEX trigger into scheduled batch update

I wrote an APEX script for the campaign object that updates when the campaign updates. Unfortunately I am running into the issue of hitting limits. Also, it would be a lot more useful if the data ...
0
votes
1answer
19 views

How to schedule an email to be sent out on any given time?

I would like to schedule an email going out on a given time to a given group or email? How do I go about it?
1
vote
1answer
592 views

When scheduling an email, does it send updated content or whatever has been scheduled?

Hypothetically, if you schedule a send to go out, but make changes to the HTML and Audience/Exclusion Data Extensions associated (ie: have it refresh), does it send out the changes, or only what was ...
4
votes
1answer
323 views

How to create a wrapper class for Schedulable implementations?

I thought I was being clever by putting my Scheduled job classes inside a wrapper class: global class Scheduler { global class Foo implements System.Schedulable { global void execute(...
2
votes
0answers
26 views

Scheduled Reports: is there an archive or log?

Can I see which reports were sent via report scheduler after the fact? Is there a "sent" folder where I can see the html content of what sent?
1
vote
1answer
35 views

How to store contact under account based on one custom field matching?

I use JitterBit Cloud Data loader to synchronize Account, Contact, Opportunity from xyz system to Salesforce with Daily Scheduled. The Account object has a custom field named Adrsearchkey__c, and the ...
1
vote
1answer
4k views

Will Salesforce process builder reevaluate every time a change is made on field X?

I have a custom account lookup field "account_reference__c" and a date field "reference_date__c", any time the "account_reference__c" changes a workflow updates the "reference_date__c" with TODAY. I ...
3
votes
1answer
794 views

Is there any way to schedule dashboard refresh at schedule time [duplicate]

I am trying to implement a process which can help me in refreshing the dashboard after one hour. I have tried using salesforce process builder but that too depends on having an activity.Please do ...
5
votes
0answers
835 views

How test Process Builder's scheduled actions with APEX testmethods?

We have an org where we are using Process Builder to create cases 1 hour after a record have been created with missing data. We are using a scheduled action (Call apex) to do so. We are using the "...
2
votes
0answers
32 views

How to Restrict Sales Rep users for not creating the Schedules

Can any help me out with this? I have a requirement where i would like to restrict few users Say As "Sales Rep Users" for not creating the Schedules .I mean their can create a Opportunity record with ...
1
vote
2answers
878 views

scheduled apex+Too many DML rows: 10001

I am getting this error when i look at my apex jobs UI "Scheduler: failed to execute scheduled job: jobId: 7072000002391Am, class: common.apex.async.AsyncApexJobObject, reason: Too many DML ...
1
vote
1answer
117 views

Scheduled Job. Clean 'Setup>Jobs>Scheduled Jobs' programmatically

I have to create scheduled job, that will be executed every minute. Using http://advancedapex.com/2012/11/14/scheduledapex/ following code was written: global class ScheduledOperatorStatusMonitor ...
1
vote
1answer
81 views

Question about scheduled reporting in professional edition

I see that the limitations are: Scheduled reporting in PE says 1 per hour * *Up to a possible max of 200, total. Need a little help clarifying what that limit means. Thank you!
1
vote
0answers
50 views

Scheduled report not showing up in email

I have a scheduled report that was supposed to be sent to four recepients, me being one of them. None of us have been getting it. I set it to just me and then went through the email logs. In the logs ...
2
votes
1answer
115 views

Scheduled Distribution of Visualforce Page

Is this possible - And if so, would it be possible to be sent as: link? attachment? and to what kind of recipient list.
1
vote
2answers
1k views

Modify batch class already in schedule

How can I modify a batch class that is already placed in a schedule. I have deleted the Scheduled job and still getting error to modify the corresponding batch class. Can someone please help me here? ...
0
votes
1answer
292 views

Implementations of Apex Schedulable

I have a requirement to invoked my code on a schedule and since I'm new I could not able to wrap my head around how to implement but here is what I have got so far please correct me if I'm doing ...
3
votes
1answer
219 views

Scheduled Apex, changed CreatedDate with json.deserialize, but still not working?

I have a strange problem. Following Class: global class leadToBoerseAfter24H implements Schedulable{ // Execute method global void execute(SchedulableContext SC) { // Code to ...
4
votes
1answer
1k views

How to find Find Scheduled Report Recipients from the code

We have many schedule Reports and Dashboeds. We need to find the Recipients for all reports from code. Doing it manually will take too much time. I have search for all objects in workbench and did ...
-2
votes
1answer
414 views

How to remove the row from a Visual force page using Apex Scheduler class?

I am Saving dates in 2 fields like follow, Using Visual force page and controller to enter multiple Row's, now i want to delete a row if the End Date is Passed Today, Can any one help me how to ...
11
votes
2answers
13k views

How can I query the class which the schedule job will call

I am trying to get the name of the schedule / batch classes called by the schedule job Trying this select Id,CronJobDetailId,CronJobDetail.Name, NextFireTime,PreviousFireTime,State,StartTime,...
11
votes
2answers
2k views

Does Test.stopTest() ensure a System.Schedule/Database.Batchable completes in a test?

I am struggling to successfully test some code that is essentially the same as the code here Apex test class for schedulable class that checks for 5 batches running already. I can get the System....
4
votes
1answer
2k views

Scheduling Batch class

How to schedule the batch for every two hours per day? I try like this String schedule = '0 0 1/2 * * ?'; System.schedule('Jobname',schedule,new SampleTracking()); but i don't know it is ...
3
votes
1answer
220 views

Stopping scheduled reports by freezing user account

When a user account in Salesforce is frozen (using the freeze feature) does this prevent them getting scheduled reports that they would normally have received? For example, UserA has a role ...
-1
votes
1answer
142 views

How can I Schedule the sales report on yearly…?

I generate a yearly sales report that I want to schedule it to my manager yearly. But in salesforce schedule runs I found daily,weekly, monthly options. Is there any option to schedule the report to ...
2
votes
1answer
337 views

need help with exception failure when scheduling a send via SOAP API in PHP

I'm trying to create a scheduled send definition and I receive the following exception: [StatusMessage] => Exception occurred during [ScheduleEmailSendDefinition] ErrorID: 540318960 This is the code ...
1
vote
1answer
190 views

Best Practices: Scheduled Reports

We are having issues with tons of different users trying to schedule reports, and it is causing others to not be able to schedule their reports because only 2 reports can be scheduled in 1 hour. I am ...
0
votes
1answer
442 views

want to schedule multiple queries with multiple time frequencies

want to schedule multiple queries with multiple time frequencies query1: want to schedule for every 1 hours query2: want to schedule for every 6 hours query3: want to schedule for every 12 hours ...