You can find case where a user start a process that goes in sevral approval setps etc ... but he wants to withdraw (end) the process. To do that you will need to design your process so it does have a "end" activity and we will use the Gotoactivity API