hrm_todo widget - Comments on reject

matt_a
Kilo Guru

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:

find_real_file.png

But it must be adding it to the journal as it does get posted to the RITM via the rejection comment business rule:

find_real_file.png

Any ideas on this? I would like the comments on the approval as when the approver gets confirmation via email, the comments arent there.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

which page are you referring?

what debugging have you performed on that widget?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

9 REPLIES 9

@matt.a 

Yes sometimes we need to push back the customers in case of customization to OOB components.

Please close the thread by marking appropriate response as correct and helpful.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Loudigi
Kilo Sage

I have the same concern. I've actually opened a ServiceNow Support ticket for this, as you mentioned, it's preferred that the comments be included in the approval record as well. It's been more than a month since I've opened the case. No solution.

Any updates on this yet? Thanks.

Agree with you.

If ServiceNow thinks it' right to add the comment on task instead of the approval, they should at least provide the ACL to give write access to the task comments for approvers (without itil role)

Hi Loudigi,

Did you get any response from ServiceNow?

 

Thanks,

Bhavana