- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2018 02:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2018 02:19 AM
Hi
Ram2497
UI Policies execute after Client Scripts. If there is conflicting logic between a Client Script and a UI Policy, the UI Policy logic applies.
Client-based code:
"Client-based code that executes in the browser, using Ajax or running as Javascript, always executes before the form submission to the server."
This includes Client scripts and UI Policies.
First onLoad Client scripts, after that the first UI Policies kick in.
After that, the Client scripts and UI Policies that work onChange.
After that, the Client scripts that work onSubmit.
Refer the below link may helpful you.
https://community.servicenow.com/community?id=community_blog&sys_id=512d26e5dbd0dbc01dcaf3231f9619ce
Thanks & Regards
Haseena
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 10:27 PM
Hi folks,
'If there is conflicting logic between a Client Script and a UI Policy, the UI Policy logic applies.'
Can anyone explain this line with example?