- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:02 AM
I have to create the condition like below:
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:37 AM
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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:15 AM
your script won't work as current object won't work there.
What's your requirement?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:18 AM
I want to get cleared "group" field when "division" field changes like new value will be added or removed existing one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:37 AM
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'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 03:18 AM
Hi,
In the UI Policy condition use division changes.
In script use g_form.setValue('group','');
Regards,
Piyush Sain