I have not been clear enough
I have a client script that call a suitelet.
It's working fine but the client is waiting for the suitelet to completed. I don't want that. I want the suitelet to execute and not wait.
I'm looking at the suite answer and it says
'Note that when a Suitelet is invoked by this method, it will wait for all the pending promises to finish.'
Simon
10/19/2022, 7:50 PM
I think i will go with a iframe
d
dcrsmith
10/19/2022, 9:35 PM
offload the work to a scheduled or m/r script
s
Simon
10/19/2022, 9:36 PM
That's what we had before. The issue is that we have 40 users working at the same time, The scheduler was not able to support more than 15 at a time 😞
d
dcrsmith
10/19/2022, 9:37 PM
Use the N/cache module to notify the users of the suitelet that it's already in use or processing the same/similar data
s
Simon
10/19/2022, 9:39 PM
They are shipping an average of 50k packages a day. Users cannot wait. I already started implementing the iframe and so far, it looks good but I'm not proud of it, however the users will be happy
Thanks