Workflow - Fetch Approver Comments

Hello Everyone!👋

Fetch Approver Comments from Workflow

If you’ve worked with My Inbox, you’ve probably seen that when rejecting a work item, users must enter a comment so the requester understands what needs to be fixed before resubmitting. But how do we retrieve those comments?

You can use the following CDS view or class to fetch the decision note (approver comments) from the work item:

CDS: I_WorkflowTaskResultComment
Class: CL_WAPI_DECISION_COMMENT_QUERY

Note:If this CDS view exists in your system and you want to fetch comments from older or completed work items, you can run the report RSWW_SET_WORKITEM_COMMENTS (if needed).

Comments

Popular posts from this blog

Fiori URL Generation and Navigation Using CL_LSAPI_MANAGER

RAP - Real Time UI Updates Using Event-Driven Side Effects

ABAP - Create CSV Files Easily Using CL_CSV_FACTORY