- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi,
Is it possible to modify the Resolve button so that when it is clicked, the state will change to resolved? Thanks in advance for the help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @Hermes14 ,
Its a out-of-the-box feature as you click on Resolve button in Service Operations Workspace It will ask you put mandatory values like Close Notes before updating the incident.
For your Custom Solution: Create Your Own UI Action
If you're okay with bypassing the modal and simply want to change the state, you can create a custom UI Action.
current.state = 6;
current.update();
action.setRedirectURL(current);
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
it's an OOTB form action and it invokes Modal from workspace client script.
It presents a modal with inputs to agent.
Why you want state to directly move without filling those mandatory fields Close code and Close notes?
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
2 weeks ago
Hi @Hermes14 ,
Its a out-of-the-box feature as you click on Resolve button in Service Operations Workspace It will ask you put mandatory values like Close Notes before updating the incident.
For your Custom Solution: Create Your Own UI Action
If you're okay with bypassing the modal and simply want to change the state, you can create a custom UI Action.
current.state = 6;
current.update();
action.setRedirectURL(current);
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
thanks, will proceed with creating a custom UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
I believe I suggested the best approach to your question.
As per new community feature you can mark multiple responses as correct.
If my response helped please mark it correct as well so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader