Workflow: Cancel to Draft

In workflow process, when the status have to move to cancel state need not to define the workflow transaction from current state to cancel state. Instead set the cancel button as type=object and write the status directly through the function because here flow will be...