When user clicks on Review button on change form, attachment should be mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi Team ,
There is a requirement , where if user clicks on Review button on the change form , it should through an alert that ' Please attach proof of change completion ' . And after adding the attachment it should move to Review state.
If the Ticket is already having attachment it should through a reminder with the same message.
can someone help me to achieve.
Currently it is troughing alert but even after attachment it is not moving to review state.
script include:
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
did you add alert and see what came in client script?
is your action name correct which you are using at line 11
💡 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
yesterday
The example change request state model [sys_state_model] is inactive by default. Are you sure that's the applicable model? It might be the "Normal" change model [chg_model].
If state is changing to review after you click the action, it would seem the client side function is working but the server side update is failing. Do you get an "Invalid update" error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @PhanitaM - By default, you can only transition a Change from to Review from Implement.
