Is there a way to set the order of user event scri...
# sdf
b
Is there a way to set the order of user event scripts in my SuiteApp? I know I can go to the Script Records page in a NetSuite account, and rearrange them, but is it possible do do this via SDF?
😰 2
👀 4
c
I'm curious about this as well. I am wondering if you have to specify this in the deploy.xml and you have to put scripts in their own folder and list them in the order you want them to be created so they go in like a queue.
e
I do believe
deploy.xml
is processed in sequential order, but I do not know if changing that order would also change a Script's execution order. 🤔
c
it does seem kinda clunky to have to alphabetically (or numerically) name folders so they go in order
it def processes it sequentially so that seems to be the path
if the UEs have to run before existing scripts, there's no way I know of to programmatically do that.
b
I'd also want NS accounts where the SuiteApp is currently installed to update the order once they get the next version. I guess this is another area where SDF is lacking.
e
I don't think you'd have to necessarily name them; you'd just have to explicitly call out the specific file(s) you wanted to order within
deploy.xml
, and put them in sequential order. I just don't know if the latter part - updating the order when the App is updated - would occur; I strongly doubt it
💯 1
c
Yeah i guess you could do that I was thinking too broadly