Workflows do not trigger during GlideRecord insert or updateIssue Workflows do not trigger when a GlideRecord insert or update runs. The workflow does not launch on tables where it is configured to run. Steps to reproduce: 1. Create the system property glide.db.max.aggregates with type integer. 2. Set the value to 1. 3. Try to trigger a workflow on any table that has a workflow configured to run. Unexpected behavior: The workflow does not trigger. Expected behavior: The workflow triggers on sc_request and change_request. If many workflows are configured on many tables, the following script returns only a few tables: var ga = new GlideAggregate("wf_workflow_version"); ga.groupBy("table"); ga.queryNoDomain(); while(ga.next()){ gs.info(ga.getValue('table')); } Symptoms • The workflow does not trigger on GlideRecord insert. • The workflow does not trigger on GlideRecord update. • The workflow does not launch. • The GlideAggregate script on wf_workflow_version returns only a few tables. Release All Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } GlideAggregates is being limited to a few results. In the backend there is a GlideAggreates being done on [wf_workfow_version], and group by "table" column, this builds a cache on the node for tables where workflows are configured to trigger on insert or updateResolution The glide.db.max.aggregates system property limits the GlideAggregate results. The backend runs a GlideAggregate on wf_workflow_version and groups by the table column. This builds a cache on the node for the tables where workflows are configured to trigger on insert or update. When the property limits the results, the cache is incomplete and workflows do not trigger. To resolve the issue: 1. Open the system properties. ⚠ SME: verify navigation path and steps for this action 2. Set the value of the glide.db.max.aggregates property to 100000. ⚠ SME: verify the property value and the steps to set it 3. Clear the cache by running cache.do.