Questions tagged [job]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
29 views

Switching career from Salesforce to C# [closed]

I am having 3 years of experience as Salesforce developer. I have been working on around 20 different projects of different size (from small 10 user orgs to the largest orgs in the world) on many ...
0
votes
1answer
36 views

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job?

How to stop the sfcc-inventory-pending_reservations-handle-orphaned job? It seems that it is a system job, so I was not able to find it in the Administration - Jobs. The job is running infinitely ...
0
votes
1answer
45 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 ...
1
vote
1answer
55 views

Are Business Manager user and Job contexts mean the same in SFCC?

Are Business Manager and Job contexts mean the same in SFCC? I would like to perform OCAPI requests during a job execution. So, I am exploring the OCAPI setup. Here is the documentation excerpt: ...
0
votes
1answer
21 views

How to abort Cronjob by name?

I have cronjobs which are scheduled in after update trigger. When some user make an update in one and the same record I need the previous cronjob(batch) to be aborted and to start a new cronjob. How ...
0
votes
1answer
167 views

Difference between Batch, Job and Transaction in Salesforce?

As a title, can anyone help me to distinguish what is the difference between Batch, Job and Transaction in Salesforce?
1
vote
2answers
106 views

Apex batch job performance

I am salesforce admin currently facing performance issue with one of the 3rd party(classy-SF) Integration. Batch job installed from classy are running 300+ times in 24 hours( batch size 1).Each batch ...
-1
votes
2answers
244 views

Create multiple child record when master record is created [closed]

I am trying to create a very similar process. I have a custom object Job (master ) and other custom object Steps (child ) . Both of these are children in a master detailed relationship. In a Job ...
0
votes
1answer
304 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 ...
5
votes
2answers
1k views

How to handle UNABLE_LOCK_ROW errors when this is caused by a batch APEX job

we are facing a serious issue. We have a batch APEX job running daily which makes updates on records fulfilling certain conditions. There is another job running parallel to this, in some cases ...
2
votes
2answers
946 views

How to get apex job id based on future call

Is it possible to get Apex Job Id in Apex job after executing the future call? Basically I want to get the job Id and its detail information to copy it to another custom object. So after the future ...
0
votes
1answer
98 views

Submitted date of apex jobs = 15.12.2017 and how long it took to run?

our client notified us that a scheduled job ran on the 15th December 2017 and it took longer than expected. Checking the processed jobs and their submitted dates, I couldn't find any job running on ...
1
vote
1answer
103 views

Update database within job to accomplish progress bar

I have this job: public class MyJob implements Database.Batchable<sObject>, Database.Stateful, Database.AllowsCallouts { // ... public void execute(Database.BatchableContext ...
2
votes
0answers
200 views

SFMC Receiving dedicated IPAddress information from _JOB per JobID

I'm trying to create a report to retrieve IPAddress from _Job table per each JobID using query but i comes back as NULL. According to SFMC information IPAddress is only available to users without ...
1
vote
0answers
190 views

PKChunking problem when using Content-Type: application/json

I have the following problem when creating a batch to a job in Salesforce and I want to enable PKChunking. I perform a POST request at /services/async/37.0/job and I am creating the job like this: ...
0
votes
1answer
321 views

Bulk API - asynchronous processing

I have a question regarding the Bulk API. It is stated that the Batches are processed asynchronously by Salesforce. I think it is meant that sending multiple batches for one job would be imported ...
0
votes
0answers
52 views

Class produces same result everyday using SOQL Today() function

I have a class that implements Schedulable...pulls in a list of records created today, by using the TODAY() function. The data should change, and when the SOQL query is run manually, I do get ...
13
votes
4answers
7k views

Cannot delete AsyncApexJob using System.abortJob

I'm facing the "ghost" job issue in an organization (thankfully is a sandbox). I had a class scheduled to run in a daily basis, and it was working fine, until I accidentally scheduled it again (2 jobs ...
1
vote
3answers
68 views

A way to let non-Salesforce user to have a limited read/write access to internal data

I have a following use case: Company Alpha wants to use Salesforce for recruiting purpose. In order to do so, Alpha would like to let non-Salesforce user to have a limited read/write access to ...
1
vote
1answer
1k views

How to manage the governor limit : Maximum number of Apex classes scheduled concurrently : 100

I launch a batch which call a lot of scheduled job. But I reach the governor limit : Maximum number of Apex classes scheduled concurrently : 100 I'm wondering what happens when this limit is ...
2
votes
1answer
216 views

Save process blocked on Sandbox due to ghost scheduled job (which does not exist or is already aborted)

When I try to edit and save some classes on sandbox, I receive an error "Schedulable class has jobs pending or in progress". When I go to schedulable job list, I see empty list (no scheduled job). ...