Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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.
Tagged:
0