- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 03:45 AM
Hi All,
I have observed that the recent servicenow upgrade has given a new field 'Value' in catalog UI policy Action.
And when 'Set Value' check box is selected, we get field to autopopulate the Value.
I would like to know, would this field work as reference qualifier? (as in, can we give a javascript inside this field? or it should be a direct hard coded string value?)
Thanks in advance,
Sruthi.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 04:10 AM
Hi Sruthi,
The value action just runs g_form.setValue(field, value), it's not intended for computed values by invoking a javascript function

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2024 04:10 AM
Hi Sruthi,
The value action just runs g_form.setValue(field, value), it's not intended for computed values by invoking a javascript function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2024 06:34 AM
This seems very limiting. I bet you can figure out how to make it more useful by accepting something like
g_user.userID or setting the value to anything dynamic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2024 04:54 AM
Hi @Kieran Anson can you elaborate on that? I swear to God, this action does nothing for me. When I set the Value Action to Set Value nothing happens. I thought that there would be a string field shown where I populate what I would like to set the new value to, but nothing happens.
What does this field do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2024 06:17 AM
If you don't see the field, make sure you're on WDC or later. You may need to add the field onto the form if you don't see it.