I have a process that has two tasks that is a simple 'approval' process. I need to be able to programmatically choose either 'Approved' or 'Rejected' for a task so that the process goes to the next task assignment or exits the process and the process ends.
From code how do you get the current task of a process, and action one of the user actions?
Thanks!