UCMDB .py script - Is there a easy way to know the current job status that will be reported
Hi, is there a way to know if my current discovery will report as "Succes/Warning/Error" from a .py script?
In my case, i want to know at the end of HostApplicationByShell (in TTY_HR_Main.py) if i'm going to finish in succed to put something in my node. Something like storing in my node : lastSuccesDate, lastWarningDate and lastErrorDate.
Many warning/error are not in the 2 globals try/catch at the end, and i don't want to put flags everywhere in every try/catch.
Would like to know if can access the status from the Framework variable or something like that.
Re: UCMDB .py script - Is there a easy way to know the current job status that will be reported
No, you can't.
Jython scripts will execute on probe side and some UI discovery statistics refer to the overall discovery flow.
If the reconciliation process will fail for the CIs in OSHV then you may have a warning which is indenpendent to the Jython scripts because recon happens on server side.
EMEA Technical Success