/// <summary>
        /// Creates executable instance
        /// </summary>
        public override ProcessFlowElement CreateProcessFlowElement(UserConnection userConnection)
        {
            var executableElement = new CampaignTransitionProcessElement {
                UserConnection = userConnection
            };

            InitializeCampaignProcessFlowElement(executableElement);
            InitializeCampaignTransitionFlowElement(executableElement);
            return(executableElement);
        }
 /// <summary>
 /// Initializes transition flow element properties.
 /// </summary>
 protected void InitializeCampaignTransitionFlowElement(CampaignTransitionProcessElement element)
 {
     element.SourceItemId           = SourceRefUId;
     element.TargetItemId           = TargetRefUId;
     element.StepCompletedCondition = StepCompletedCondition;
 }