protected override void ExecuteWorkflowLogic()
        {
            var opportunityClose = new Entity("opportunityclose")
            {
                ["subject"]       = Subject.Get(Context.ExecutionContext),
                ["opportunityid"] = Opportunity.Get(Context.ExecutionContext),
                ["actualrevenue"] = ActualRevenue.Get(Context.ExecutionContext),
                ["actualend"]     = CloseDate.Get(Context.ExecutionContext),
                ["competitorid"]  = Competitor.Get(Context.ExecutionContext),
                ["description"]   = Description.Get(Context.ExecutionContext)
            };

            var loseOpportunityRequest = new LoseOpportunityRequest()
            {
                Status           = OpportunityStatus.Get(Context.ExecutionContext),
                OpportunityClose = opportunityClose
            };

            Context.UserService.Execute(loseOpportunityRequest);
        }