Currently, when import job runs, the status is shown as success as the job execution was successful. However, some or all records were not imported due to maybe data validation which is correct but if that happens (1 or more records fails to import) I need to show the job execution status as failed as it shows false positive to non-tech savvy users.
As a technical person, I can understand the status if about Job being executed instead of the records being imported 100 % or not but as the users are from non-technical background, I need to show Job execution status as per import record count. How can I achieve it with no to minimal code changes?