-
How to remove the error "List has no rows for assignment to sObject" – Salesforce?
I have a method in Visualforce Controller where I am saving the query result in a list. Here is my list.
listApexJob = [SELECT Id, Status, JobItemsProcessed, TotalJobItems, NumberOfErrors FROM AsyncApexJob WHERE ID =: batchProcessId ];How to remove the error “List has no rows for assignment to sObject”?
-
This discussion was modified 6 years, 4 months ago by
krati vishnoi.
-
This discussion was modified 6 years, 4 months ago by
Log In to reply.