/// <summary> /// Complete the workflow with given result. It will cause the workflow to be closed immediately on Amazon SWF with completed status. /// </summary> /// <param name="result"></param> /// <returns></returns> protected static WorkflowAction CompleteWorkflow(object result) { return(WorkflowAction.CompleteWorkflow(result)); }