Questions tagged [schedule]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
19 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
1answer
23 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
0answers
19 views

One OpportunityLineItemSchedule object appears in report twice

I need to build a report that shows Opportunities that have a specific Product Family and Scheduled last month. The problem with that is that one Schedule appears twice in the report and it breaks the ...
0
votes
1answer
29 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 ...
0
votes
0answers
30 views

How to get notified if the job does not run at all in Sales force commerce cloud during the scheduled time?

I am new to Sales force commerce cloud and I am not a developer. I had today the problem that one of the export job was not running since yesterday release on the production site! I was therefore ...
1
vote
1answer
234 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
1answer
71 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
1answer
29 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
2answers
145 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
1answer
62 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
0answers
146 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
0answers
12 views

how can I Schedule reports for community Sales managers?

I have a 100 Users Community with two roles.. Role A --> Sale Manager Role B --> Promotors Every Sales Manager (9 in total for now) has n promotors from 3 to 9. Every friday I have to send 3 ...
1
vote
0answers
17 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
1answer
17 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
1answer
429 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
0answers
27 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
1answer
547 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
1answer
43 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
1answer
721 views

Callout from scheduled 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
1answer
27 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 ...
1
vote
1answer
139 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
0answers
162 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
3answers
146 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
1answer
15 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
0answers
69 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
1answer
327 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 ...
1
vote
1answer
928 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
1answer
46 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
1answer
120 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
1answer
116 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
0answers
35 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 { /...
1
vote
4answers
1k 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
1answer
78 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
2answers
56 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
0answers
33 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
1answer
315 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 ...
4
votes
1answer
1k 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
1answer
54 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
2answers
489 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 ...
1
vote
1answer
1k views

field integrity exception: unknown (scheduling not enabled on product):

I have written a trigger, when opportunityLineItem is inserted the quantity gets scheduled meaning opportunityLineItemSchedule are also gets inserted. Now to re-enter the quantity I have cloned the ...
0
votes
1answer
1k views

Enabling Revenue Schedule for Defined Products

I am trying to enable Revenue Schedules for only certain products in my organization. I have enabled Revenue Schedules from the Product Schedules Settings. I did not check to enable Schedules on all ...
2
votes
2answers
197 views

SOQL - Using Integers and OpportunityLineItemSchedule

I'm trying to write a SOQL query for a Conga Composer button but I encounter errors. Below is the query - what's wrong with it? I was getting an error on the Product Code but seem to have that sorted,...
2
votes
2answers
115 views

Is there anyway to schedule the activation of a workflow?

I am the only salesforce admin at the company i work for. i have created some workflows that i do not wish to be activated until a certain time. unfortunately that time is when i am on holiday. does ...
2
votes
0answers
297 views

Schedule “Reporting Snapshot” using apex

Do you know if there is a way to schedule native SF Snapshots using apex? I want to make a snapshot run daily for 10 days the first month of every quarter. I haven't gotten to figuring out the cron ...
0
votes
1answer
96 views

Which Scheduled Job will run first?

I have two different Apex Jobs scheduled at 12:00 AM as shown below: Which job will run on next day? Will both jobs run one after another or only one job will run on next day? Both jobs refer to ...
1
vote
1answer
2k views

Is there any limit for flow Paused and Waiting interview?

I scheduled emails for 100 days before in Process builder. Now If i schedule individually 10000 emails actions, will they fire or not? Here i can see 10 paused interviews, so How many can process ...
0
votes
1answer
413 views

How Process builder schedule actions works

I have few schedule actions of Process Builder. The process is going to fire based on one Boolean record when that made true. I scheduled 100 days before expiry date. Now if i want change expiry date ...
0
votes
1answer
319 views

If conditions in a schedule test class not getting covered

I have written a test class for the Schedualble class and the if condition is not getting covered.The code coverage is displaying as 40% .Any Suggestion please. Schedule Class : global class ...
2
votes
1answer
423 views

I get Limit Exceeded error when try to reschedule a report

I tried to update the scheduled future run that I have from every weekday to only Tues and Fri. When I try to save, I get the “Limit Exceeded” error message, which doesn’t seem correct as I’m only ...
5
votes
2answers
195 views

Scheduling an apex batch

I have a batch and now I want to create a schedulable class to run the batch every Saturday at 1AM. I was following the salesforce docs but cannot seem to grasp everything correctly. Here's my ...