Hide Annotations based on UI policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Community, Good Day,
I am stuck in a requirement, the requirement to hide Annotation using UI policy when state is in progress then annotation should not visible. I am using this solution.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I could see you added annotation in form section
you can show/hide form section in your UI policy "Execute if true" and "Execute if false" script
Give correct section name -> space replaced with underscore
// Hide the section
g_form.setSectionDisplay('test_for_annotation', false);
// show the section
g_form.setSectionDisplay('test_for_annotation', false);
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Would you mind closing your earlier questions by marking appropriate response as correct?
Members have invested their time and efforts in helping you.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
