Notifications

1185 views

Description

When a workflow on a requested item only contains Set Value or Run Script activities, the requested item's active flag stays set as true even when the stage field is 'Complete'. This is due to the 'Set Active Flag' business rule condition failing to be met:

current.stage.changes() && (current.stage=="complete" || current.stage=="Request Cancelled")

The condition does not consider scenarios where a workflow on RITM has no Wait For, Timer, Approval, Catalog Task, Create Task activities. The history of the RITM shows that, when the record is created, the stage initial value is 'Complete', failing to match the business rule condition.

Steps to Reproduce

  1. Import the attached XML.
  2. Order the item 'Completed yet active still true'.
  3. Notice the RITM created still has active flag set to true instead of false.

Workaround

This issue has been fixed. If you are able to upgrade, review the Fixed In or Intended Fix Version fields to determine whether any versions have a planned or permanent fix.  After upgrading you will need to enable these business rules:

  1. sys_script_3c1faea173002300097f6508caf6a7b9.xml
  2. sys_script_8ebfaa6573002300097f6508caf6a7c3.xml

because by default they're active false.

If you are not planning to upgrade to a fixed release, perhaps you may find relief by applying this workaround:

Add the attached business rules which are configured to run after workflows:


Related Problem: PRB1269804

Seen In

SR Shodan Kingston r1 - v5.0.10
SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - Audit Management PA Content - Madrid 2019 Q1
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - IRM - SIG Assessment Legacy - Madrid 2019 Q1
SR - IRM - SIG Questionnaire - New York 2019 Q3
SR - IRM - Vendor Risk Management - Madrid 2019 Q1
SR - ITOM - CMDB CI Class Models - 201909
SR - ITOM - Discovery and Service Mapping - 201908
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Common - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - ArcSight Logger Integration - Madrid 2019 Q1
SR - SIR - CarbonBlack Integration - New York 2019 Q3
SR - SIR - Check Point Integration - New York 2019 Q3
SR - SIR - CrowdStrike Host Integration - Madrid 2019 Q1
SR - SIR - CrowdStrike Intel Integration - Madrid 2019 Q1
SR - SIR - ElasticSearch Integration - Madrid 2019 Q1
SR - SIR - Exchange OnPrem Integration - New York 2019 Q3
SR - SIR - Have I Been Pwned Integration - New York 2019 Q3
SR - SIR - LogRhythm Integration - New York 2019 Q3
SR - SIR - McAfee ESM Integration - Madrid 2019 Q1
SR - SIR - MetaDefender Integration - New York 2019 Q3
SR - SIR - Palo Alto AutoFocus Integration - New York 2019 Q3
SR - SIR - Palo Alto Firewall Integration - New York 2019 Q3
SR - SIR - Palo Alto WildFire Integration - New York 2019 Q3
SR - SIR - Qradar SIEM Integration - Madrid 2019 Q1
SR - SIR - RecordedFuture Integration - New York 2019 Q3
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Security Incident Response Flow Designer Content - Madrid 2019 Q2
SR - SIR - Security Incident Response PA Content - New York 2019 Q3
SR - SIR - Security Incident Response UI Patch - London 2019 Q2 v.6.2.3
SR - SIR - Splunk Sighting Search Integration - Madrid 2019 Q1
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3
SR - SIR - Store Trusted Security Circles Client Advanced- Madrid 2019 Q1
SR - SIR - Tanium Integration - New York 2019 Q3
SR - SIR - Threat intelligence - New York 2019 Q3
SR - SIR - VirusTotal Integration - New York 2019 Q3
SR - SIR - WHOIS Integration - New York 2019 Q3
SR - VR - Configuration Compliance - New York 2019 Q3
SR - VR - Qualys - New York 2019 Q3
SR - VR - Shodan Exploit - New York 2019 Q3
SR - VR - Vulnerability Response - New York 2019 Q3
SR - VR - Vulnerability Response PA Content - Madrid 2019 Q2

Fixed In

Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-09-10 14:43:09
Published:2019-08-02
SetActiveFlagAfterWorkflows_sys_script_3c1faea173002300097f6508caf6a7b9.xml[View]SetClosureFieldsAfterWorkflows_sys_script_8ebfaa6573002300097f6508caf6a7c3.xml[View]sys_remote_update_set_1fc794234f5d574025a39a211310c75a.xml[View]