public void HandleResponseSpawnElements(Step s, Response r, PlanElementEventArg e, string userId) { try { if (r.SpawnElement != null) { if (PEUtils.ResponseSpawnAllowed(s, r)) { r.SpawnElement.ForEach(rse => HandlePlanElementActions(e, userId, rse)); } } } catch (Exception ex) { throw new Exception("AD:StepPlanProcessor:HandleResponseSpawnElements()::" + ex.Message, ex.InnerException); } }