DIAdem Help

Object: ContextFinalize <Analysis Automation>

  • Updated2024-09-12
  • 1 minute(s) read

Object: ContextFinalize <Analysis Automation>

The ContextFinalize <Analysis Automation> object provides information on the analysis automation event On_Finalize. The On_Finalize event is only called if you execute a parallel analysis.

The following example checks whether the procedures On_Initialize and On_Run_AnalysisProcedure were successful:

VBScriptPython

 

Sub On_Finalize(oContext)
    Call oContext.LogResult("Init ok: " & oContext.Status.On_Initialize_Success)
    Call oContext.LogResult("Analysis ok: " & oContext.Status.On_Run_AnalysisProcedure_Success)
End Sub