Is there a way to have workflows executions ordered just like with scripts? I have a before record submit workflow that I really need it to run as soon as the record is created by web services.
c
CD
03/23/2023, 2:49 PM
I'm going to say no, because the Scripted Records page allows you to rearrange the order of scripts, but not workflows. Sounds like you need to switch to using a script (which run before workflows too)
a
AI1
03/23/2023, 4:26 PM
It depends on what you mean by “as soon as created”
If you use the Entry trigger or before tecord load it will trigger the actions as the record is being created
a
Abdul Ali
03/23/2023, 6:46 PM
Okay, so my problem is that I have an iPaaS that uses REST to get order info ones it's get created. Even though the workflow is triggered at the time of transaction creation, it gets affected by performance and other concurrently running scripts/workflows so the API stores some data that will be changed by the workflow later. Later here can be a split second.
a
AI1
03/23/2023, 7:26 PM
Are you sending data via a RestLet from NetSuite? Or are you getting data using a listener in the iPaas?
a
Abdul Ali
03/23/2023, 8:37 PM
Listener in the iPaaS
a
AI1
03/23/2023, 8:42 PM
Could you change it from a listener to a scheduled flow running every 5 or 10 min?