public override void BusinessFlowStart(uint eventTime, BusinessFlow businessFlow, bool ContinueRun = false) { mCurrentBusinessFlow = businessFlow; if (this.Configuration.ExecutionLoggerConfigurationIsEnabled) { this.BFCounter++; string BFFolder = string.Empty; this.ExecutionLogBusinessFlowsCounter++; mExecutionLogger.ExecutionLogBusinessFlowsCounter++; switch (this.ExecutedFrom) { case Amdocs.Ginger.Common.eExecutedFrom.Automation: //if (Configuration.ExecutionLoggerAutomationTabContext == ExecutionLoggerConfiguration.AutomationTabContext.BussinessFlowRun) // Not Sure why it is added, not working at some points, removing it for now //{ mExecutionLogger.ExecutionLogfolder = mExecutionLogger.SetExecutionLogFolder(mExecutionLogger.ExecutionLogfolder, true); // } break; case Amdocs.Ginger.Common.eExecutedFrom.Run: if (ContinueRun == false) { BFFolder = BFCounter + " " + folderNameNormalazing(businessFlow.Name); } break; default: BFFolder = BFCounter + " " + folderNameNormalazing(businessFlow.Name); break; } businessFlow.VariablesBeforeExec = businessFlow.Variables.Select(a => a.Name + "_:_" + a.Value + "_:_" + a.Description).ToList(); businessFlow.SolutionVariablesBeforeExec = businessFlow.GetSolutionVariables().Select(a => a.Name + "_:_" + a.Value + "_:_" + a.Description).ToList(); businessFlow.ExecutionLogFolder = BFFolder; mExecutionLogger.CreateNewDirectory(Path.Combine(Configuration.CalculatedLoggerFolder, BFFolder)); ExecutionProgressReporterListener.AddExecutionDetailsToLog(ExecutionProgressReporterListener.eExecutionPhase.Start, GingerDicser.GetTermResValue(eTermResKey.BusinessFlow), string.Format("{0} (ID:{1}, ParentID:{2})", businessFlow.Name, businessFlow.InstanceGuid, businessFlow.ExecutionParentGuid), null); } }