Questions tagged [schedule]

The tag has no usage guidance.

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

How to Create schedule email as reminder in every Month in Salesforce? [closed]

I want to send a set of people(a group) a reminder mail for the 1st of every month. There is no object created or edited for emails fire, it fires in every month's 1st day automatically. I have ...
0
votes
1answer
36 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....
0
votes
1answer
30 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
1answer
14 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 ...
0
votes
1answer
37 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
1answer
25 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
1answer
69 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
2answers
98 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
25 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
27 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
51 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
1answer
530 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
170 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
34 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
315 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
182 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
208 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: ...
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
48 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
772 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
894 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
63 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
1k 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
174 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
197 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
167 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
24 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
84 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
407 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
2k 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
60 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
125 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
186 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
41 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
2k 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
93 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
58 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
34 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
391 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
57 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
640 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
2k 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
209 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
120 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
333 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 ...