Discussions
Workflow vs script precedence
We currently have several user event aftersubmit scripts attached to our sales orders, which carry out essential tasks on order creation. We're currently looking at ways of deferring their processing, in order to reduce the negative impact on UI speed.
If we create a workflow triggered by sales order aftersubmit/create, when does this execute in relation to the current aftersubmit suitescript? Is there a specific order of precedence, do they fire simultaneously, or can we control this in the workflow in some way?