How to use Value Action field in UI policy action

sruthi22
Tera Contributor

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.

1 ACCEPTED SOLUTION

Kieran Anson
Kilo Patron

 

Hi Sruthi,

The value action just runs g_form.setValue(field, value), it's not intended for computed values by invoking a javascript function

View solution in original post

10 REPLIES 10

Let’s say you have a String variable called country (string field), I'm trying to auto populate with india, on incident form. but nothing happening while im re loading it or updating or inserting incident