0

I have a job id for a batch apex class.I need to fetch the record ids from the job id.Is it possible to use an SOQL to fetch the record id for which the particular job id ran. I need help on the query that is to be made to fetch the record id

3
  • 1
    That's not possible. What exactly are you trying to achieve?
    – sfdcfox
    Mar 27, 2020 at 9:54
  • actually i got a null exception when the batch ran.I updated the code for null handling.Now I want to test for a similar replica of the record, i need the record id and eventually the record details for which the null exception came.Is there any alternative that you can suggest?
    – Rivu Indra
    Mar 27, 2020 at 10:28
  • 1
    You'll just want to write a unit test to verify behavior. If you know what you fixed, you should know how to write a test to prove what you fixed.
    – sfdcfox
    Mar 27, 2020 at 10:31

0

You must log in to answer this question.

Browse other questions tagged .