
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 02:36 AM
With the hrm_todo widget in the employee center, it appears that comments on rejection of an approval for a request item, are not available and allows a user to reject without comments.
Looking at the widget: Todos Requested Item Approval
This has the following set:
data.approvalActionsWidget = $sp.getWidget("todo-approval-actions", {
sysId: data.sysId,
useCommentBox: false,
commentId: options.commentId,
commentTable: options.commentTable
So changing this to: useCommentBox: true,
This provides a comment box and makes it madatory! Hurah!
However, it doesnt seem to post the comments on the approval:
But it must be adding it to the journal as it does get posted to the RITM via the rejection comment business rule:
Any ideas on this? I would like the comments on the approval as when the approver gets confirmation via email, the comments arent there.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 02:48 AM
Hi,
which page are you referring?
what debugging have you performed on that widget?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 02:48 AM
Hi,
which page are you referring?
what debugging have you performed on that widget?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 05:22 AM
The page being:
https://<InstanceName>.service-now.com/sp/?id=hrm_todo&view=sp&sysparm_tableName=sysapproval_approver&sys_id=a288f8e21b764150a138fc4cd34bcbe9&todo_sys_id=23fb71a8731023002ceb31d7caf6a7b6
It uses this widget for the approve/reject buttons:
https://<InstanceName>.service-now.com/nav_to.do?uri=sp_widget.do?sys_id=34a149f0531130107eb7ddeeff7b1271
Reading through the widget, it appears that it posts the comments directly on Request item rather than the approval which is a bit awkward as if the approver emails in, it will post on the approval record. So seems like a bit of inconsistency in the employee center widget?
I guess I would need to update the widget to post to the approval record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 06:29 AM
Hi,
yes try to update the widget.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 07:56 AM
I decided against updating the widget as want it to remain OOB as much as possible! So just removed the comments section from the rejection confirmation notification!