Catalog UI Policy Condition

DIVI1
Tera Expert

I have to create the condition like below:

DIVI1_0-1698228062370.png

Fields "division" & "group" are list collector variable type.

 

And tell me please why it is not working, I want to get clear group field if division field changes. 

1 ACCEPTED SOLUTION

Ok I just figure it out, I just used the 'does not contain' anything and on catalog UI Policy Actions checked 'Clear the variable value'

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@DIVI1 

your script won't work as current object won't work there.

What's your requirement?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

DIVI1_0-1698229041319.png

I want to get cleared "group" field when "division" field changes like new value will be added or removed existing one

Ok I just figure it out, I just used the 'does not contain' anything and on catalog UI Policy Actions checked 'Clear the variable value'

piyushsain
Tera Guru

Hi,

In the UI Policy condition use division changes.

In script use g_form.setValue('group','');

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,
Piyush Sain