https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
a

ahmed saeed moawoad elmasry

04/01/2022, 4:17 AM
Hello Dears, I have a scheduled script creates a vendor bill record but the bill has multiple workflows and user events script. I want to restrict the schedule script from firing those workflows & userevents note: I am aware that i can restrict each workflow and userevent context from fire the schedule but i want this action happen from the schedule itself to behave like userevent disability to run another userevent
b

battk

04/01/2022, 7:24 AM
the most straightforward will be what you wish to avoid
modify each workflow/userevent so that there is a way to return early
the less straightforward approach is to take advantage that userevents dton trigger other user events and workflows
create a custom record and deploy a user event to that record that creates the vendor bill
that user event wont trigger the user events and workflows deployed on the vendor bill