Description
UI Policy with dot-walked filters does not execute on new records (sys_id=-1).
Steps to Reproduce
-
Create a new UI Policy for the incident table with the following parameters:
Short Description: test
Order: 300
Conditions: Caller.Active is true
Reverse If false: true
onLoad: true -
UI Policy Actions:
Field Name: "Configuration item" (cmdb_ci)
Visible: true -
Go to Incident.do.
-
Choose an active user as the caller.
Note that the Configuration Item field should be visible based on the filter condition but it is not visible.
Workaround
Once you submit the record, the UI Policy works correctly.
Related Problem: PRB1262395