private void DoCreate(ICRMEvent context, mwo_PluginStepRegistration subject) { var res = StepManager.Register( subject.mwo_EventHandler, MapPluginType(subject.mwo_EventHandlerType), subject.mwo_Name, subject.mwo_SDKMessage, subject.mwo_PrimaryEntity, subject.mwo_SecondaryEntity, subject.mwo_StepConfiguration, subject.mwo_Asynchronous == true, MapStage(subject.mwo_PluginStepStage), subject.mwo_FilteringAttributes, subject.mwo_Description); Tracer.Trace($"Created new PluginStep: {res}"); subject.mwo_PluginStepId = res.ToString(); DoManageImage(context, res, subject); }