Discussions
Terminating Workflow on Record Close
Just found the answer to this, see below.
Hi,
Apologies if there is a really simple solution to this that I haven't seen, but I'm having problems terminating a workflow if the user closes the record.
Basic scenario:
* User (a supervisor) enters a record which needs an approval or rejection.
* If the conditions are met (is supervisor of employee for this record, and approval state is requested) then add two buttons to the form - 'approve request' and 'reject request'.
* Two conditions - one for each button press.
If the 'approve' button is pressed, another workflow is called, executes correctly, and both terminate.