It's really only an issue when you have a SetError, based on a blank field value.
(I first learned of the problem / solution during Alnoor's scripting class back in NOLA, pre-Summit a few years ago).
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON
------------------------------
Original Message:
Sent: 05-09-2019 11:48
From: Amber Prayfrock
Subject: OnExit script triggering one last time when closing SOE task
Well, that would make sense :) I can work that in. I just don't recall this happening any other time I've put in an OnExit script, but should be easy enough to fix. Thanks, Kevin!
------------------------------
Amber Prayfrock, Blytheco
------------------------------
Original Message:
Sent: 05-09-2019 11:36
From: Kevin Moyes
Subject: OnExit script triggering one last time when closing SOE task
Check for a blank SO # too before your SetError. You only want it to trigger when there is an open SO.
------------------------------
Kevin Moyes
Technical Systems Analyst
Munjal White Consulting Co.
Toronto ON