When we deployed multiple UE scripts to one record...
# suitescript
b
When we deployed multiple UE scripts to one record type, are those scripts run simultaneously or one by one when the event is triggered?
a
yes and the order is the order their listed on the "scripted records" page Customization > Scripting > Scripted Records
💯 1
b
@Anthony OConnor you mean one by one?
this 1
I'm facing an error that says Record has been changed
If they run one by one, I don't see any reason I'm facing that error? Let's say we have an array which has 10 elements. I can see log inside loop of that array 3 times, but 4th time I'm seeing that error says "Record has been changed"
a
yes 1 by 1 record had been changed doesn't have to be UE script though, it could be an integration, an MR script, someone actually in the UI, a workflow
b
Thank you @Anthony OConnor What about workflow and UE script?
are they run at the same time?
s
Scripts first then WFs is the usual way. Do you have any event driven scripts or WFs that might trigger on each iteration of your loop?
r
Most difficult problem to solve for sure. Often times it involves the task module, since it enters a process into the queue, which may or may not coincide with the event chain on that record.