1. Home
  2. Knowledge Base
  3. Support and Troubleshooting
  4. Known Issue
  5. Actions Order Affect Mandatory Reference Updates
  1. Home
  2. Knowledge Base
  3. Support and Troubleshooting
  4. Actions Order Affect Mandatory Reference Updates

Actions Order Affect Mandatory Reference Updates

The issue “Content Planner unable to update mandatory reference fields” was fixed as part of hotfix/R6.1.1, while the fix may not work in certain scenarios. This article describes identified scenarios when Business Rule can still prevent the record/data changes done from Content Planner.

Overview

The scenarios described below are performed with test data as described below, the tests were performed in a instance, which didn’t have “plugins/product” that overrides the base functionality of servicenow cmdb. It means introducing “new” business rules, security rules and so on.

Blueprint

Business Rule

  • table: cmdb_ci_appl
  • When: Before, order: 100, INSERT & UPDATE
  • Condition: Support Group changes
  • Script: if support_group field is empty then aborts the current transaction

The user performing test should not have preference “Auto load related items” selected as “Yes”. The following describes actions steps performed.

  1. Record dragged onto the Application record
  2. Related items should not be reloaded automatically.
  3. Add “unlinked/unconnected” support group record onto Group. The record should be automatically linked to the application record.
  4. Click on the application record and “load related items”.
  5. Remove the existing “support ref link”.
  6. Try to populate the content set
  7. The population should fail.
Screenshot before “removing” existing reference link.
screenshot when data population failed.

Scenario 02: Create desired record – add new reference

I want to create a placeholder application record (App01) in Application container with minimum details. I want to use existing Container Link (Support Group) when making connection to support Group record.

The data population fails, as the updates happen in sequence of two separate transactions: first create desired record then try to update a desired record’s support group field.

Was this article helpful?

Related Articles

Submit a Comment