Extracting the data object
In the previous section, we saw how to populate the processes tasks in a table and allow users to take necessary action on the task if required. In this section, we'll implement functionality that will fetch the data object (information entered by user while submitting the process) that was submitted while raising the Travel Reimbursement request.
In order to get the data object, the Process REST API will be used. The data object /ic/api/process/v1/processes/{processId}/dataobjects
REST endpoint will be used to extract the data object for a process instance.
Create a Service Connection using the Process GET REST API to get the data object, https://<OIC_URL>/ic/api/process/v1/processes/{processId}/dataobjects
. Replace OIC_URL
with the actual hostname of OIC and use Basic Authentication to authenticate the REST API.
Important Note:
Refer to Chapter 5, Creating and Managing Service Connections, under the Creating a Service Connection from...