When you use approvals in Microsoft Flow you might have found the recent additions of Approve, Reject and Reassign in the Approvals UI.
On top of this there is also a cancel when you look at all the sent Approvals for the approval tasks that you sent from your flows.
These UI options are nice for the user but what should you do in your workflows?
When a user reassigns you might need to make sure that you check the actual approver against the approver that you assigned to the task. Quite often you might not worry about this, but many systems will want to keep track on who approved a document or an other piece of data. You simply cannot assume that the approver is the same as you wanted t to be in the first place.
Approval or rejection
When a user approves or rejects the item you can check for Approve or Reject. You can use a condition as shown below or you could use a switch step.
When a user cancels an approval your flow will now continue. So you will need to check the outcome of the approval step and when the approval step is empty then you can assume that someone used the cancel option in the approval UI.