Using the 'is ANYTHING' condition in UI Policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2013 12:56 AM
I am building a Record Producer that would show a sequence of similar input fields one by one as the user fill them in. This is like filling a table: a new empty row appears after the previous row is not empty any more. To achieve this effect I am creating a Service Catalog UI Policy that goes like 'if field1 is anything or field2 is anything, then keep field2 visible'.
The challenge I am facing is likely a bug with the 'ANYTHING' condition. I am looking for a workaround.
As soon as I save the UI Policy, the conditions are displayed in a weird manner, not as they were when I created them (see the screenshots 'conditions-entered.png' and 'conditions-after-save.png').
When I try this Record Producer, firstly - it does not work (both fields are always visible), and secondly - in the script log statements there are messages like this: "CatalogUIPolicyBuilder: Cannot get question for 'd3a9b9e23cb2f000cc34fe4d3fc16055ANYTH'. Skipping term"
This looks like a bug in ServiceNow. My question is how to work it around. Please, any suggestions are welcomed.
- Labels:
-
Service Catalog