Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to prevent users from bypassing the terms and conditions?

Rajat Gupta6
Tera Guru

I have a requirement to show terms & conditions when users login for the first time. I followed below link and able to show popup using a UI script as described in the post. The problem is that users are able to bypass the popup selection i.e they can open anything from the application navigator without accepting/ rejecting the terms and conditions.

https://community.servicenow.com/community?id=community_article&sys_id=ca3f3c47db7edc504aa5d9d968961929

How can we make the users mandatorily accept / reject the terms and conditions displayed in popup without allowing them to bypass it?

Screenshot attached (users are able to click anything in the navigator and bypass the popup)

find_real_file.png

5 REPLIES 5

Rajat Gupta6
Tera Guru

@Ankur Bawiskar @Mark Roethof Kindly help

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Is this a business requirement?

Regards
Ankur

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

Yes, the requirement is to show a page having 'terms and conditions' to be accepted by all users as required by the law. It is a one time activity.

I was trying with this approach but got stuck as mentioned above.

Hi,

check this

Login Terms and Conditions Dialog

GlideDialogWindow – Terms and Conditions Acceptance Page

Regards
Ankur

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