C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2025 10:42 PM - edited ‎02-19-2025 08:47 PM
,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2025 11:12 PM
that's the OOB behavior.
Why the work notes are mandatory? from where client script or ui policy
Ensure you give correct conditions so that when UI action is visible work notes are not mandatory
is that UI action client side? please share screenshot of the configuration
Code looks fine to me.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 02:41 AM - edited ‎02-19-2025 08:47 PM
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2025 02:59 AM
that's OOB behavior.
if you click UI action and if some field is mandatory then system throws that message.
Why not check inside the UI action if comments is populated or not?
If not then throw some custom message.
If yes then run your next code
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2025 11:32 PM
Hey Jason,
To Copy over all work notes and comments, did you try getJournalEntry() function?
getJournalEntry(1) gets the latest entry.
getJournalEntry(-1) gets all entries.
If my answer helps you in any way please mark it as correct or helpful.