You need to sign in to do that
Don't have an account?
Susannah P
Get Information for All Batches In A Job GET Request
I'm trying to follow the following documentation to retrieve info about my batch job: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_batches_get_info_all.htm
When I try to execute the GET request in the REST Explorer in workbench, I get the error "Unable to find session Id". What am I doing wrong?
When I try to execute the GET request in the REST Explorer in workbench, I get the error "Unable to find session Id". What am I doing wrong?
Using below query you will get job details :
AsyncApexJob aaj = [SELECT Id, Status, JobItemsProcessed, TotalJobItems, NumberOfErrors
FROM AsyncApexJob WHERE ID =: batchprocessid ];
System.Debug('Apex job id==='+aaj.Id);
Hope this helps you!
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com