Setworkflow(false)

NishmithaS
Mega Contributor

ServiceNow, I want to understand the use of setWorkflow(false). Is it applicable only for update operations, or can it also be used for delete (deleteRecord/deleteMultiple)? When should we use it?

 

ServiceNow, for updating or deleting multiple records, should we use a while loop with update() / deleteRecord() or directly use updateMultiple() / deleteMultiple()? Which approach is best ?

1 REPLY 1

brianlan25
Kilo Patron

Here is the info form docs setWorkflow.

Here is the info from docs updateMultiple

Here is the info from docs deleteMultiple