I am facing a minor issue in workitem's job status, where "status" value is coming as "success" even when the design process get failed due to an exception. Is it happening because I've handled that exception in the code? If yes, then how can i manipulate that status value to "failedInstructions" or whatsoever. Please help/explain what i can do...
For the reference, i am adding some text of the partReport below, which might be helpful to understand my problem.
[08/20/2020 09:23:52] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[08/20/2020 09:23:52] InventorCoreConsole.exe Error: 0 : Inventor message: This file was saved in a newer version of the product. Inventor can’t open newer versions of drawing (.idw, .dwg) and presentation (.ipn) files.
[08/20/2020 09:23:52] To open a part (.ipt) or an assembly (.iam) file one year newer than your current version, install the latest updates.
[08/20/2020 09:23:52] T:\Aces\Jobs\xxxxxx\AutoDrawingGenerator1\Asia\A1.dwg (Inventor Server x64 SDK 2019 (Build 230136000, 136))
[08/20/2020 09:23:52] Search in the Inventor help for 'Troubleshooting Opening Newer Files' for information on how to open a newer file.
[08/20/2020 09:23:52] InventorCoreConsole.exe Error: 0 : Inventor inner xml:
[08/20/2020 09:23:52] InventorCoreConsole.exe Information: 0 : Performing iLogic diagnostics...
[08/20/2020 09:23:52] InventorCoreConsole.exe Information: 0 : End of iLogic diagnostics...
[08/20/2020 09:23:52] InventorCoreConsole.exe Information: 0 : Deactivating plug-in: adg plugin
[08/20/2020 09:23:52] InventorCoreConsole.exe Information: 0 : : samplePlugin: deactivating...
[08/20/2020 09:23:53] End Inventor Core Engine standard output dump.
[08/20/2020 09:23:53] End script phase.
[08/20/2020 09:23:53] Start upload phase.
[08/20/2020 09:23:53] Uploading 'T:\Aces\Jobs\xxxxxx\Result.zip': verb - 'PUT', url - 'https://developer.api.autodesk.com/oss/v2/buckets/xxxxxx/objects/Result.zip'
[08/20/2020 09:23:54] End upload phase successfully.
[08/20/2020 09:23:54] Job finished with result Succeeded
[08/20/2020 09:23:54] Job Status:
{
"status": "success",
"reportUrl": "xxxxxx",
"stats": {
"timeQueued": "2020-08-20T09:23:38.7490949Z",
"timeDownloadStarted": "2020-08-20T09:23:39.0168046Z",
"timeInstructionsStarted": "2020-08-20T09:23:40.9380466Z",
"timeInstructionsEnded": "2020-08-20T09:23:53.9753113Z",
"timeUploadEnded": "2020-08-20T09:23:54.6653268Z",
"bytesDownloaded": 21313829,
"bytesUploaded": 329117
},
"id": "xxxxxx"
}```