Object: ContextInitialize <Analysis Automation>
- Updated2024-09-12
- 1 minute(s) read
SystemLink > Objects > Object: ContextInitialize <Analysis Automation>
Object: ContextInitialize <Analysis Automation>
The ContextInitialize <Analysis Automation> object provides information on the analysis automation event On_Initialize. The On_Initialize event is only called if you execute a parallel analysis.
The following example checks whether the result path from the transfer parameter exists, and writes it into the result notifications of current and completed analysis automation tasks:
| VBScript | Python |
Sub On_Initialize(oContext) Dim ResultsPath If oContext.Procedure.Arguments.Exists("ResultsPath") Then ResultsPath = oContext.Procedure.Arguments.Item("ResultsPath").Value Call oContext.LogResult("Results path: " & ResultsPath) Else Call oContext.LogError("Results path missing") End If End Sub
Properties
CurrDataProvider | DataLinks | DynamicArguments | FileService | Procedure | Tags | TaskExecution | TempFolder