public override WorkflowExecutionStatus Execute(Record record, RecordEventArgs e)
        {
            // TODO: Check password matching and other sanitation and validation

            var member = new MemberCreationModel
            {
                Username        = record.GetValue <string>("username"),
                DisplayName     = record.GetValue <string>("username"),
                Email           = record.GetValue <string>("email"),
                Password        = record.GetValue <string>("password"),
                MemberTypeAlias = "Member"
            };

            try
            {
                var memberHelper = new MemberHelper(Current.Services.MemberService);
                memberHelper.Create(member);
            }
            catch (Exception)
            {
                return(WorkflowExecutionStatus.Failed);
            }

            return(WorkflowExecutionStatus.Completed);
        }