/// <summary> /// Initialize an embedded trigger /// </summary> /// <param name="componeId"> /// </param> /// <param name="configurationId"></param> /// <param name="componentId"></param> /// <returns> /// The <see cref="string" />. /// </returns> public static TriggerEmbeddedBag InitializeEmbeddedTrigger(string configurationId, string componentId) { try { return(EventsEngine.InitializeEmbeddedTrigger(configurationId, componentId)); } catch (Exception ex) { LogEngine.WriteLog( ConfigurationBag.EngineName, $"Error in {MethodBase.GetCurrentMethod().Name}", Constant.LogLevelError, Constant.TaskCategoriesError, ex, Constant.LogLevelError); return(null); } }