Approve Request Mapping
we are working on Approve Request Fiori Application, when user is rejecting a request it asks for comment ,we know it gets stored in Workflow taskcontainer but we are not able to retrive where exactly in work flow task container this comment stored i.e name of the container variable.
Krishna Kishor Kammaje replied
It is available in the dialog tasks's container element with name "Attachment".
To get the comment,
You need to get the DOCUMENT_ID of the attchemtn from the container, and then call FM SO_DOCUMENT_READ_API1 passing it.
Below workitem has three comments, so three attachments.