When we define Event for process we are getting compiler error:
[810086] Error compiling script Chain T2K-DS (9,0): 'Job_T2K_DS_' is not declared. It may be inaccessible due to its protection level.
at VI.Tools.DBCompiler.CompileJobChains.Compile(ScriptCompilerOptions options, IDictionary`2 createdModules, IProgress`1 progress, CancellationToken ct)
at VI.DB.JobGeneration.JobGenAssemblyBuilderBase.GenerateAssembly(Type parentType)
at VI.DB.Scripting.ScriptCompiler.Compile(String[] preprocessorDefines)
at VI.DB.Scripting.ScriptAssemblyCompiler.CompileSource(IScriptAssembly assembly, String source, String[] preprocessorDefines)
Without Event it's OK but this is not the case.