Before closing a change ticket, it should be mandatory to attach evidence of change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 11:12 AM
There is a requirement where, upon clicking the Review button on the change form, a pop-up message should appear reminding users to attach evidence of change.
popup message:
"Please attach proof of change completion."
If users have already uploaded the evidence previously, they should simply re-attach the file.
I have implemented the logic below, but the pop-up keeps looping and repeatedly asks for the attachment. As a result, the ticket is not transitioning to the Review state.
Could someone please assist with resolving this issue?
UI Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 05:17 PM
Hi @PhanitaM
May I know from where/how you are calling the UI script.
Also, try the below line of code in your script to filter the attachments which're created in last 5 mins .
recentGR.addEncodedQuery('sys_created_on>=javascript:gs.minutesAgo(5)');
Regards ,
Siva