Is there a way to control the order that User Event scripts run?
Meaning if I have 2 user event scripts and I always want Script A to run before Script B, is there a way to ensure that?
e
ec
02/18/2020, 3:57 PM
Scripted Records > Type > Edit, drag the User Event A above B
a
Azi
02/18/2020, 3:58 PM
@ec Thanks!
s
stalbert
02/18/2020, 4:18 PM
if you control both scripts you might consider combining them for efficiency and complete control on how/why/when things execute...
👍🏼 2
s
suitedev
02/18/2020, 4:19 PM
As long as they aren't getting close to governance limits, combining them is a great idea!
a
Azi
02/18/2020, 4:38 PM
@stalbert Good point. But in my case the first script is a 3rd party script
s
stalbert
02/18/2020, 4:39 PM
bummer. I've never liked relying on the execution order for UEs but if you have no choice it's a good feature to have.
a
Azi
02/18/2020, 4:49 PM
Yeah I can understand why.
Makes me kind of nervous