Details
-
Bug
-
Status: Resolved
-
Not specified
-
Resolution: Fixed
-
8.2.x
-
None
Description
In HPCCWsWorkUnitsClient the function createAndRunWUFromECL
If the wURun throws an error the wuid is lost.
Would it be possible modify that function so that the WorkunitWrapper that is passed in is updated with the wuid before entering the try?
Looks like it would wu.setWuid(compiledWU.getWuid()); just as you go into the if (compileWU != null) block.
This would allow the calling code to catch the error if one occurs but to also retrieve the WUID that was created by looking at the WorkunitWrapper it originally passed in.