704 views

Description

By default, the 'glide.workflow.script.strict' property is set to false for upgraded instances so that an existing erroneous customer script continues to behave the same way it did before the upgrade. If the property is set to true, errors that were previously being ignored in customer workflows may cause the workflows to fail.

This problem only occurs on the second upgrade. On the first upgrade to Fuji Patch 5 or higher, the property is set correctly.

Steps to Reproduce

ServiceNow engineers were able to reproduce this issue using the following steps:

  1. Upgrade the instance to Fuji Patch 5.
    During the upgrade, the glide.workflow.script.strict property is created and set to false.

  2. Upgrade the instance to Fuji Patch 6 or Fuji Patch 7.
    During the upgrade, the glide.workflow.script.strict property is changed to true.

Workaround

If the property is incorrectly configured after upgrading to Fuji Patch 6 or 7, setting it back to false manually resolves the issue.

To avoid the problem during a planned upgrade to Fuji Patch 6 or Patch 7, manually change the setting to create a customer update record that prevents the upgrade process from modifying the property. During a ServiceNow instance upgrade, properties that are changed by the customer are preserved. Manually changing the property triggers this protection, ensuring that the instance does not run into the problem described above.

  1. Navigate to the link below to access the setting directly.
    https://<instance_name>.service-now.com/sys_properties_list.do?sysparm_query=name%3Dglide.workflow.script.strict
  2. Change the value to True and save the record.
  3. Change the value to False and save the record.

For more information on upgrades, see Upgrades Best Practices.


Related Problem: PRB645417

Seen In

Eureka Patch 10
Fuji Patch Hot Fix 1
Fuji Patch 5
Fuji Patch 6
Fuji Patch 7
Fuji Patch 7 Hot Fix 3
Fuji Patch 7 Hot Fix 4

Fixed In

Fuji Patch 8
Fuji Patch 9
Geneva
Helsinki

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-15 03:27:52
Published:2015-09-15