- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 08:24 PM
Originally, there is no status of cancel in Incident.
To cancel, I need to enter the "Cancelled" in the Resolution Code and Cancelled by Caller in the Resolution notes.
However, in the current implementation, when I click Resolve botton, certain characters are automatically filled in those fields.
Therefore, I would like to prepare another option under such a Resolve button and create a specification that clearly states Cancelled in the Resolution code and Cancelled by Caller in the Resolution notes.
How can I create another option under the Resolve button?
Solved! Go to Solution.
- Labels:
-
Multiple Versions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 10:03 PM
Hi,
This is part of standard Ticket widget configuration.
You need to modify the widget 'Incident Standard Ticket Actions' as given below:
Make the Highlighted changes.
To add additional action in dropdown HTML script part would be like:
<div>
<div class="dropdown" id="child-case-tabs" ng-if="data.showActions">
<button type="button" id="actions-button" class="btn btn-default dropdown-toggle action-btn" data-toggle="dropdown" style="width : 100%" aria-haspopup="true" ng-init="setFocusOnActionButtons()">
${Actions}
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" id="actionList">
<li>
<a ng-if="data.canResolve" href="javascript:void(0)" ng-click="$event.stopPropagation();resolveIncident()">${Resolve}</a>
</li>
<li>
<a ng-if="data.canResolve" href="javascript:void(0)" ng-click="$event.stopPropagation();cancelIncident()">${Cancel}</a>
</li>
<li>
<a ng-if="data.canReopen" href="javascript:void(0)" ng-click="$event.stopPropagation();reopenIncident()">${Reopen}</a>
</li>
<li>
<a ng-if="data.canClose" href="javascript:void(0)" ng-click="$event.stopPropagation();closeIncident()">${Close}</a>
</li>
</ul>
</div>
</div>
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 09:49 PM
Hello
Please see the below link, It should help you.
https://www.servicenowelite.com/blog/2020/9/1/ticket-actions-widget
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg
Regards
Sulabh Garg

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 10:03 PM
Hi,
This is part of standard Ticket widget configuration.
You need to modify the widget 'Incident Standard Ticket Actions' as given below:
Make the Highlighted changes.
To add additional action in dropdown HTML script part would be like:
<div>
<div class="dropdown" id="child-case-tabs" ng-if="data.showActions">
<button type="button" id="actions-button" class="btn btn-default dropdown-toggle action-btn" data-toggle="dropdown" style="width : 100%" aria-haspopup="true" ng-init="setFocusOnActionButtons()">
${Actions}
<span class="caret"></span>
</button>
<ul class="dropdown-menu pull-right" id="actionList">
<li>
<a ng-if="data.canResolve" href="javascript:void(0)" ng-click="$event.stopPropagation();resolveIncident()">${Resolve}</a>
</li>
<li>
<a ng-if="data.canResolve" href="javascript:void(0)" ng-click="$event.stopPropagation();cancelIncident()">${Cancel}</a>
</li>
<li>
<a ng-if="data.canReopen" href="javascript:void(0)" ng-click="$event.stopPropagation();reopenIncident()">${Reopen}</a>
</li>
<li>
<a ng-if="data.canClose" href="javascript:void(0)" ng-click="$event.stopPropagation();closeIncident()">${Close}</a>
</li>
</ul>
</div>
</div>
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2022 10:06 PM
I have copied most of the part of resolve action, you can make required changes to state and other values as per your requirement.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2022 03:16 AM
Hi,
Thank you for the reply.
I modified the HTML and now I see the Cancel option!
Would you please copy the entire script where other changes are needed and post it?
Thanks and Regards,