I am trying to change the status of the workflow to "Approved" or "Rejected", once it is completed. I dont want to show the default status "Completed", when the workflow is over. But it is just showing me blank in the list.
I added the following custom values in Workflow.xml file under <MetaData> section
<ExtendedStatusColumnValues>
<StatusColumnValue>Approved</StatusColumnValue>
<StatusColumnValue>Rejected</StatusColumnValue>
</ExtendedStatusColumnValues>
Then i added the SetState activity in my Workflow Designer canvas and added the following code (based on approval and rejection condition)
setstate1.State = (int)SPWorkflowStatus.Max;
But the status field is just blank whenever the workflow is started. I am not getting which part i am missing.