Return Payload Of REST API Method Does Not Contain Relevant Attribute (Doc ID 2268122.1)

Last updated on AUGUST 10, 2017

Applies to:

Oracle Process Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Return payload of REST API method does not contain relevant attribute

The PCS REST API is used to retrieve the comment list for an arbitrary process. The return payload (JSON object) contains a list of objects, each having the comment text and the time-stamp when the comment was created. Unfortunately the user who created the comment is NOT part of the list.
So:
1. Is this intended that way, and if yes, why?
2. What is the correct way to retrieve that information using the PCS REST API (either v3.0 or v4.0)


The issue can be reproduced at will with the following steps:
1. Using Postman invoke /bpm/api/3.0/processes/{processId}/comments API link
2. In the response it can be observer the user who created the comment is NOT part of the list.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms