Hello Guys i have designed a custom workflow step by step following this link (link). everything is working fine the issue is with the rejection of document when a approver reject the document workflow status doesn't changes it remains submit only. I have these questions
1.which event handler should i implant for rejection method
2. What method we should use for handling rejection
In view workflow details it shows rejected by : user also i am receiving email for record returned. but status remains same as submit. please find the screen shot below.
View Workflow status:

Status in form :

i can see all three method written in event handler class handles below .
started: Submit workflow
canceled: Cancelled workflow
completed: Approved workflow
then what is the method for rejection. please see my code below for event handler class.

I found one thread (Link) but unanswered , i understand since there is no method to handle rejection that's why status is not changing. In blog rejection is handled by canceled method , i am not sure why as when i was canceling document it was falling in Rejected status so i corrected it.
please advise for this also correct me if i am wrong anywhere in my explanation.
Thanks