Questions tagged [jobs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

Deployment Status lists Scheduled batch Jobs (as succeeded)

I have created a batch to run at 10 minute intervals (6 jobs for each 10 mins of the hour, using CRON string). The batches run fine, but they also show up in the Deployment Status as succeeded each ...
Suri's user avatar
  • 36
0 votes
1 answer
289 views

Can I chain Bulk API jobs?

I have to load millions of records in a data migration process and I'm dealing with a parent object and a couple of custom child objects. After initial load, data will keep flowing, as Salesforce has ...
Stefano Luoni's user avatar
-1 votes
1 answer
330 views

How to run a apex job and Scheduled apex

I have written a scheduled apex class and apex job that I want confirm if it works. How can I test/verify it will work as expected without waiting for it to run at its scheduled time for one record ...
user58's user avatar
  • 5
0 votes
1 answer
151 views

Job does not exist or is already aborted when I am trying to kill a job id

private void reschedule(CronTrigger cronTrigger, ISchedulable schedulable, MySchedulableContext context) { System.abortJob(cronTrigger.Id); String newTrigger = schedulable....
kratos's user avatar
  • 521
0 votes
1 answer
356 views

How many jobs are running by the user

Want to freeze one user account, before want to know how many jobs(process builder, workflow, batch job everything) are running by the user? Any type of suggestion or SOQL statement will be helpful.
shamim's user avatar
  • 189
4 votes
1 answer
2k views

System.AsyncException: Maximum stack depth has been reached. (Queueable Jobs)

I am chaining my Queueable jobs in an Enterprise Org but I am getting the following exception: System.AsyncException : Maximum stack depth has been reached. According to documentation : Because no ...
Nachiket Deshpande's user avatar
2 votes
1 answer
637 views

Total number of batches in a job is different in UI and SOQL

Total Batches shown for a job in the APex Jobs page is different from TotalJobItems value in AsyncApexJob query. In the UI: In the Query: In the query result, TotalJobItems != JobItemsProcessed + ...
Avinash's user avatar
  • 2,061
1 vote
1 answer
2k views

Limit for quota 'api.dw.io.FileWriter(File)' exceeded. Limit is 0, actual is 1

I have written the following function in the helper library: exports.createXML = function(ExportFile, XMLObj){     var writer = new FileWriter(ExportFile, 'UTF-8');     var xsw = new ...
Code_Ninja's user avatar
-1 votes
1 answer
31 views

Salesforce activities to look after power outage [closed]

There is a scheduled power outage at our office a month later. Are there any things generic to check after power is back up. (Power outage is not salesforce outage, its our office bldg outage) For eg....
NALAMSK's user avatar
  • 31
0 votes
1 answer
619 views

How to List Jobs with the REST API?

My problem is that I can't list job postings from Sage People API. I managed to authorize my web application and get an access token. Now I only need to know the correct way to consume the API. What ...
karr's user avatar
  • 101
1 vote
1 answer
637 views

Data view for A/B Tests?

I'm trying to export our Job data to a data warehouse and it'd be helpful to know which of the jobs we're exporting are associated with AB tests. I can definitely see that Marketing Cloud has some ...
Matthew Wash's user avatar
0 votes
1 answer
2k views

System.AsyncException You have exceeded the limit of 100 Jobs in the flex queue

While creating a Lead or while Editing an Account most of the users are getting the below Error message : Also, As mentioned in the below links to contact Salesforce Support , but we couldnt contact ...
Sushma Ramakrishnan's user avatar
2 votes
1 answer
507 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:...
Jake's user avatar
  • 111
1 vote
1 answer
3k views

How do I get number delivered from the _Job Data View?

I'm trying to automate my monthly reporting and I have some queries that pull total opens, clicks etc and then figures out unique opens, clicks. I'm trying to pull total delivered for a job and total ...
Stan Alachniewicz's user avatar
1 vote
3 answers
1k views

How to Re-Create Scheduled Jobs After Deleting Them

I need to make some changes to a schedulable class that inserts Case Share objects for our custom permissioning model. When trying to make changes to the class, the error is thrown that the class has ...
Chris P's user avatar
  • 221
1 vote
2 answers
79 views

How to create a weekly job that transfers all leads with Lead Status field = “Junk (c)” and moves them all to the Dead Queue

How to create a weekly job that transfers all leads with Lead Status field = “Junk (c)” and moves them all to the Dead Queue (dead queue is a queue created). Can I add filter on mass transfer or ...
kunal gupta's user avatar
2 votes
0 answers
162 views

ExactTarget: Access Tracking information through python API

I've been searching extensively but still can't figure out. On the email dashboard, I'm doing Tracking > Send. In the My Tracking folder, I see a lot of Job ID, alongside good information like "Email ...
Stephane's user avatar
0 votes
1 answer
3k views

Submitted date of apex jobs

How to access Submitted date of apex jobs because it is not a standard field of asyncapexjob ?
Shilpa's user avatar
  • 687
1 vote
1 answer
65 views

Check if an user name is used for any jobs/WF updates/Email alerts/Reports etc

I would like to know if there is any easy way to find all the references of Salesforce User account (say, User X). For example, Workflow field update can use User X, Reports running user can be User X,...
Sethuraman.AR's user avatar
0 votes
1 answer
3k views

Batch Apex and Lists

I have batch class that I'm using to add Contacts to a Campaign. I could have up to 6000 contacts I need to add at one time. I'm calling the batch from another controller class. Question is for ...
ajl7519's user avatar
  • 169
5 votes
1 answer
4k views

How can I get the details of last schedulable job and of which class? Is there any way?

I have a requiurement where I have to get the details of last job details and the Of which clas s. How can I get the details ? i have tried using CronJob details and CronTrigger?
AnkushSalesforce's user avatar
1 vote
1 answer
2k views

Is there a way to query all JobIds or BatchIds from the Bulk Data Load Jobs?

I've been writing a program that utilizes the Async API to create bulk data load jobs. I've run into issue with some jobs being left open, after completion, due to Salesforce closing the connection ...
user8090's user avatar
12 votes
1 answer
8k views

Apex Batch job limits not clear Queued vs Scheduled

We have a discussion going on, to know now exactly what the limits are on batch apex jobs. The docs are really not clear on this. In this document it states that "Up to five queued or active batch ...
Sven Delporte's user avatar