Engines

Last modified 2025-07-10

Jace Benson

Where can I find the meaning (and definition) of the function "setRunEngines(xxx)" (see screenshot below)?

It seems to be a function on a GlideRecord object, but I cannot find any documentation on that, nor can I find the function definition in Service Now. Also, I did not find a matching article in Docs or the Community here..

I guess, that sets the "Approval Engine" for the given table/record - or something like that.

Any concrete advice on this topic?

I commented years ago on this and I still think it's useful even though there isn't a lot of documentation around this.

Engines are, I'm guessing here, like lower level business rules. Probably running on the Java layer.

Below I've listed and linked to anything I could find that may be relevant to each Engine.

Before write (these do not happen in any specific order)

After write

Label engine (this is oddly labeled, originally Tags were called Labels, and there is a Label Table to automatically create Labels [Now tags]) Listener engine Table notifications engine Role engine - keeps role changes in sync with sys_user_has_role table (for sys_user, sys_user_group, sys_user_grmember and sys_user_role tables) Text indexing engine Update sync engine Workflow engine (for deferred workflows) Trigger engine (for all Workflow Studio flows)

Engines are not refered to often in the Docs and officially they are listed here on the Execution Order of Scripts and Engines