Andrew Lo
02/27/2024, 9:55 PMerictgrubaugh
02/28/2024, 12:29 AMcontext
passed to the User Event as well as from the N/runtime
module, but I'm not sure about that.
One approach is to have your creating script set a field on the JE, perhaps a checkbox that indicates it came from the Scheduled Script or more generally that the JE can bypass approvals. If the box is checked, your UE can safely ignore the JE.
Another approach might be to search the System Notes for which User created the JE.creece
02/28/2024, 2:20 AMNElliott
02/28/2024, 3:16 PMerictgrubaugh
02/28/2024, 3:21 PMerictgrubaugh
02/28/2024, 3:22 PMruntime
module already, I suppose you could also look at the specific script ID. I actually wasn't sure what the executionContext
would be in the case of a Scheduled Script triggering a UE.NElliott
02/28/2024, 3:22 PMsuitedev
02/28/2024, 5:38 PMcreece
02/29/2024, 5:44 PM