Notifications

79 views

Description

Conditions type field is not working as expected when using 'restrictTo' attribute in Madrid.

The restrictTo attribute points to a string field. That string field contains a semicolon separated list of field names in Madrid (comma separated list in London) that will be allowed to show up in the condition list. But it is not working in Madrid instances.

Behavior in Madrid: Field names are not shown in the conditions field drop down list.
Behavior in London: Field names are shown in the conditions field drop down list.

Steps to Reproduce

1. Create 'u_restrict_to' field on SLA Definitions(contract_sla) table. Default value: assigned_to;number

2. Add 'restrictTo=u_restrict_to' attribute on the dicitionary record for 'start_condition'(contract_sla.start_condition) field in sys_dictionary table.

3. Open new form from SLA Definitions table and click on the drop down list against Start Condition field, It will not show any fields where is supposed to show fields "Assigned to" and "Number" in drop down.

Additional Info:
===============
==> Change in documentation

Pre-Madrid documentation mentions to use comma separated list of field names in to show up in the conditions field drop down list.

In Madrid it is changed. It says to use semicolon separated list of field names in to show up in the conditions field drop down list.

Jakarta -> https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/reference-pages/concept/c_DictionaryAttributes.html?title=Dictionary_Attributes#gsc.tab=0

London -> https://docs.servicenow.com/bundle/london-platform-administration/page/administer/reference-pages/concept/c_DictionaryAttributes.html

Madrid documentation : https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/reference-pages/concept/c_DictionaryAttributes.html

Workaround

This problem 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.

 


Related Problem: PRB1341877

Seen In

There is no data to report.

Intended Fix Version

Madrid Patch 5
New York

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:2019-06-10 09:46:07
Published:2019-06-10