Use the context type CREATE to avoid submitting the script after editing existing custom record entries.
if (context.type !== context.UserEventType.CREATE)
Revised from this previous article.
Published Fri. Jul. 15, 2016
Use the context type CREATE to avoid submitting the script after editing existing custom record entries.
Revised from this previous article.