Questions tagged [schedule]
The schedule tag has no usage guidance.
70
questions
0
votes
0
answers
40
views
Automation Studio next run set less hour than starting time
I scehduled Automation that activte today 3pm
And when I complete this set and check it,
in automation, the next run is today 2pm.
Is it right? I want to fix it.
-2
votes
1
answer
42
views
Write test for Schedule run three batches inside it!
I'm a newbie in salesforce. So now I want to write test for schedule that have three batches inside it like below. So how can I write test for it? Thank you so much!
public with sharing class ...
1
vote
1
answer
842
views
Scheduled actions from Flow are not executed
I have created an Auto launched flow that schedules an action on the Task object 1 day after the Due Date(ActivityDate) to update the status to "Overdue".
Whenever I create a Task for the ...
1
vote
2
answers
967
views
Method does not exist or incorrect signature: void schedule(String, String, BatchDeleteRecordChargeBack) from the type System
Can anything help me with this error. when my instance doesn't show the following error
Method does not exist or incorrect signature: void schedule(String, String, BatchDeleteRecordChargeBack) from ...
0
votes
1
answer
106
views
Retriving Data Extension that WILL BE used as Send Target in a Scheduled Email by User Interface
when scheduling a "One Shot" email, we have to choose the data extensions that will be used as Target Send and The Exclusions Datas if need.
Is there a way to retrieve the data extension of ...
0
votes
1
answer
39
views
Confidentiality on quip pages/spreadsheets required for appointment scheduling
I raised this question as well on the exchange, would you have a guidance for us?
Quip is used for participant's registration regarding employee health program. Would it be possible to create a ...
0
votes
1
answer
2k
views
Is it possible to schedule a class every 14 days?
I am trying to schedule a class every 14 days based on a start date. Example: I want the scheduled job to run on 1st Tuesday of the month and 14 days off that i.e. 3rd Tuesday and then a 5th Tuesday ...
0
votes
1
answer
2k
views
Schedule triggered flow not running for all Resources
I have a schedule triggered flow that runs weekly on the Resource object.
I have a custom setting checkbox which I use to denote whether the flow should run that week or not(bi-weekly pay schedule).
...
0
votes
1
answer
242
views
Is there ANY WAY to SCHEDULE this CODE?
private static void scheduleTEst(Set<Id> sObjectId, String cronJobDetailName, String className, Integer hour) {
List<CronTrigger> scheduledExecs = [SELECT Id, CronJobDetail....
-1
votes
1
answer
444
views
method not getting called inside rest api
I have created two rest API methods in the schedulable class when I called in the execute function my first method is called and worked fine in my First response my second method is not triggered. how ...
0
votes
1
answer
67
views
How do I get a scheduled action to fire on legacy records that already meet the decision block criteria?
I have a process that sends scheduled emails (for example 30 days after record creation). The process works fine when I create a new record that meets the criteria. I can see the scheduled action in ...
1
vote
2
answers
2k
views
Schedule action in process builder not working
I have a requirement where I need to send an email to contact 1 hour after the created date but for some reason it is not working.
But it works perfectly fine when I try to add it as immediate action....
0
votes
1
answer
85
views
How much data will maximum into the journey?. when choosing Recurring Schedule as repeat 'every daily' in 1 time
I have a problem when have 30,000 data. When choosing Recurring Schedule as repeat every daily, there are thousand data into the journey. I would like to know how much Recurring Schedule as repeat '...
1
vote
1
answer
340
views
Scheduling emails using Email Send Definition and Data Extension
We are currently building an integration where when a product is purchased on Shopify the user can select a date and time to schedule the product to be emailed to a specific email address (e-card ...
0
votes
2
answers
1k
views
Scheduled report did not complete - Update the schedule and change the running user
I am in the standard 'System Administrator' profile, and this permission has the 'Schedule Future Runs' permission.
I want to change the running user on a scheduled report from an inactive user to an ...
1
vote
1
answer
127
views
Using Scheduled Callout response to trigger another callout
I'm having trouble with my current callout/trigger setup.
My current architecture is like this:
Scheduled job - runs every 5 minutes:
global class Scheduled implements Schedulable {
global void ...
0
votes
1
answer
457
views
Scheduled Job trigger is 9 hours delayed
I have a set of records(around 90,000 records) to be updated at 1AM every day. But I cannot update at least 10,000 records in a bulk as salesforce reaches governor limits. Then I wrote a schedulable ...
1
vote
1
answer
2k
views
How to force future method to wait until current thread finish?
I have an apex code which is called from an after trigger. The apex code calls a future method and sometimes the future method runs after the execution of the current thread and sometimes does not.
I ...
1
vote
1
answer
424
views
CPQ: Generate Quote Documents for more than 25 Quotes
I'm trying to generate Quote Documents for several Quotes simultaneously. We're using a schedule but calling the API and running up against a limit: we can only call the API to create Quote Documents ...
-3
votes
1
answer
58
views
Need help Schedule Test Class for tast create on Opportunity
I need help on the test class for this schedule on Opportunity. Getting error on below code with comment and only 35% coverage code.
global class OppJob_Task_1stPhoneFollowup implements Schedulable {
...
1
vote
2
answers
1k
views
Schedule an Automation through the API without a Recurrence("Repeat") Value
Is this possible to do? Each time I schedule an automation through the API it only seems to work if I set a "Recurrence" value, although I only want the automation to run once.
To get around this I'...
1
vote
1
answer
888
views
Run report from Apex
My users want more control scheduling reports. The scheduler only offers a limited set of times and frequencies. I know how to schedule apex scripts using System.schedule and a cron string. Is ...
1
vote
0
answers
266
views
Run a Autolaunched Flow created with the new (winter '20) schedule option
I have a flow as described in the title, created with this feature. If I click on the 'Run' button i receive the following error:
The flow failed to start because the provided values were not valid: ...
0
votes
0
answers
63
views
Get the Schedules of Aborted Scheduled jobs
One of my team members has mistakenly aborted all the scheduled batch jobs from the system using the below code -
List<CronTrigger> jobsToAbort = [select Id from CronTrigger where
...
0
votes
1
answer
1k
views
Profile with "Subscribe to Dashboards" checkbox still dont have the schedule option
I need to give a specific user to schedule a dashboard and have given the the access through profile system permissions but the targeted user still dont have the option.
Is there any other way to do ...
0
votes
1
answer
2k
views
Field Service Lightning (FSL) Scheduling
I am learning FSL and trying to schedule Service Appointments in Field Service Gantt. I am not able to drag or locate my Service Appointments in Gantt. There is a warning sign with my Service ...
0
votes
0
answers
29
views
how to schedule report or dashboard as different user? [duplicate]
I have a lightning community with two profiles types.
Managers and Promoters.
I need a way to email schedule reports or dashboards to the managers with the informacion of its own promoters.
it is ...
0
votes
1
answer
5k
views
Batch Class execute using Cron job Schedulable
I am trying to run my Batch Class called UltimateParentAccount for every 6am and 12pm using a Cron Job Schedulable name ScheduleUltimeParentAccountBatch.
I tested my batch class and it works well, ...
0
votes
1
answer
165
views
soql of List<Task> and <Account>
Our incoming calls are saved as Tasks, and related to a temp account.
If the calling number already exists in an account, we want to relate that task to the account.
First, we make a list of the ...
0
votes
1
answer
2k
views
Callout from Batch Apex not supported: Retrieving token
I have a scheduled batch class that updates my order payments however I am receiving an error that the callout is not supported.
I have read other posts that for batch classes if Database....
0
votes
1
answer
30
views
Having an issue with a SF formula validation against a revenue schedule
I have a custom object that is essentially pulling in a calculated amount based on the schedule date , and then after 5 months, just pulls in the schedule amount. This works like a charm if the ...
2
votes
1
answer
383
views
Restrict scheduled report emails on 0 records
There is any way to restrict scheduled report send email when report has 0 records?
0
votes
0
answers
307
views
Schedule job is not starting on Developer sandbox
When I schedule a simple apex class, it gets added to the 'Schedule Jobs' list. I can even see a 'Queued' job in Apex Jobs. But the job doesn't get executed even after a considerable time has lapsed ...
1
vote
3
answers
286
views
Help Schedule email reminder
Im new in salesforce apex programming..
I want to make an email reminder if case status != closed to case owner H+5, H+7, and H+10 ..
H = created date
.. how do i get the owner email value? and ...
0
votes
1
answer
197
views
Can I have Data Exported into Shared device automatically
I have a requirement where I should be able to export users on weekly basis and keep them in shared Device. By going through the salesforce docs it says that we can able to schedule data export but ...
3
votes
0
answers
140
views
schedule jobs to be run in the past
I have a scheduled job whose "Next Scheduled Run" is set to a date in the past:
Cron expression:
0 30 20 * * ? *
Does it mean that this scheduled job will never run?
What could be the reason for ...
0
votes
1
answer
538
views
Time Zone set in automation through soap api
I created Scheduled automation through soap api. but i am not getting current time zone. I used particular time zone with below code but automation taking default time zone than how to set particular ...
2
votes
1
answer
10k
views
Solution on Calling queueable from Batch causing exception of "System.LimitException: Too many queueable jobs added to the queue: 2"
Have any one of you come across a situation, where I need to call queueable class from batch. To give you more details, let us a scenario - I have a scheduler, which will run after particular time of ...
0
votes
1
answer
88
views
Salesforce CPQ schedule dates can not be sold again
I am trying to create a service in salesforce CPQ selling a service that can only be sold on dates that have not be scheduled before.
The use case is: Once a date has been scheduled with a set date ...
0
votes
1
answer
165
views
Schedule Job doesn't work properly
I have a Schedulable class named 'DeletarSemCheckinSchedule' that runs some DML's. i also have another Schedulable class named 'AgendarSchedulesCheckin'.
The 'AgendarSchedulesCheckin' should be called ...
1
vote
1
answer
537
views
How report scheduling works if the time frame is set to custom. i.e., Last 7 days?
I have scheduled a report so that I should receive email once in a week and with last 7 days data. For that, I have adjusted the Time Frame to Last 7 days. But when I changed it like that, it ...
0
votes
0
answers
83
views
Trying to find the unix epoch time code for 12 hours from now()
I have a scheduled class to run every night at 10pm. I would like to; at the end of that job have it send the time code for 12 hours from whenever that job was running.
public class mailScheduler {
/...
2
votes
4
answers
3k
views
Update version of Process Builder and Pending Scheduled Actions
I would like to know what happen when I have some Scheduled Action for version 1 of Process Builder A and I make some changes in the same Process Builder and activate version 2.
0
votes
1
answer
183
views
Where to store CSV file for the schedule import CSv file data in salesforce
My requirement is I've to schedule the import of CSV file data into salesforce, on daily basis.
Means, Daily data from CSV file will be inserted into salesforce automatically.
Now. Question is ...
0
votes
2
answers
64
views
Flow: does anything speak against using a flow and wait to create a workflow scheduler
I have to live in a code-free world and really would like some scheduled actions. What is the community feeling about using a Flow with a wait loop to exec actions weekly, monthly etc - I assume it's ...
1
vote
0
answers
43
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 ...
0
votes
1
answer
712
views
Knowledge Articles Scheduled Publication - What is the exact time?
I am interested to know the exact time of the article publication, after we schedule it from the Article Management Tab. I haven't been able to find any documentation of this detail. To help you ...
5
votes
1
answer
2k
views
Schedule deployment change set
I have the need to make a changeset once a week from develpment enviroment to test enviroment. Is it possible to schedule this action?
I would like to create a batch job to do this but I can't find ...
0
votes
1
answer
81
views
Scheduling Data Filter, then Schedule Email to Send Using it's Data Extension
I have 4 data filters that my previous supervisor created. We have been manually running all 3 filters daily, then sending the data extension after. I am looking to schedule the data filter to run/...
0
votes
2
answers
2k
views
Sandbox Scheduled Apex not creating debug log
I am trying to set a scheduled Apex job to run daily at 1AM. Records are not being inserted as I believe they should be. I imagine there is are errors occurring during execution of the class. I have a ...