Notifications

29 views

Description

When all the choice list items of a field on an extended table is inactive, REST API still validates the update value against these items causing confusion.

Confirmed on London, and also on previous release families.

Steps to Reproduce

  1. On an out of the box instance, go to the dictionary and find table=task, column=state
  2. Add a choice list item for table=sc_task, value=1 mark it as inactive=true
  3. Creating a "sc_task" record and notice that the "State" choice list shows the "Task" table's choices, ignoring the inactive choice list item.
  4. Send a PUT request to this record via Table API (/api/now/table/sc_task/<sys_id>) with a payload that contains state=3
  5. Observe that the state will not be updated.

Workaround

Remove the inactive choice list record completely to make the Table API processor consider the base table choice list values.


Related Problem: PRB1345123

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Risk Management - New York 2019 Q3
SR - ITOM - Fundamentals Istanbul Jakarta Kingston r1 - v5.99.6

Fixed In

Orlando

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-05-04 07:28:47
Published:2020-05-04