Notifications

117 views

Description

Record watchers without sys_ids (sys_id=^approvalINapproved,rejected) will cause the flow to fire for every update within the table. This will cause process plans to become quite large and consume massive amounts of memory.

 

Steps to Reproduce

1 - Install the attached update set which includes the flow Empty Record Watcher.
2 - Create an incident with short description "RecordWatcher".
3 - Open the flow "Empty Record Watcher" in flow designer.
4 - Make sure the flow is paused at wait for condition on incident_task.
5 - Delete the incident record.
6 - Delete the incident task record.
Observe the flow does not enter an error condition at approval even if the parent incident has been deleted. The flow creates approvals and record watchers without sys_IDs (sys_id=^approvalINapproved,rejected).

Workaround

If you are able to upgrade, review the Fixed In section to determine the latest version with a permanent fix your instance can be upgraded to.

The following workarounds can be used:

  • Cancel the flows before deleting the approval parent record.
  • Cancel the approval parent record rather than deleting.
  • Add a Lookup record to the flow before the approval to check if the record is still there.


Related Problem: PRB1383335

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3

Intended Fix Version

Paris

Fixed In

New York Patch 9
Orlando Patch 3

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-07-09 15:33:23
Published:2020-02-26