We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to retrieve tasks along with duration inside a process with APIs?

Accepted answer
11
Views
4
Comments
edited Sep 10, 2019 11:52PM in Process Automation 4 comments

Summary

Need to retrieve duration of each task inside a process with API

Content

Hi, 

How can I retrieve the duration of each task inside a process like the image attached below?

I need to calculate the duration of the whole process by summing up the expiration of each task in the process.

Tried to call the /bpm/api/4.0/tasks/  (https://docs.oracle.com/en/cloud/paas/process-cloud/cprrb/op-tasks-id-get.html) but it does not return the expiration time neither due date.

 

https://nononononono.integration.ocp.oraclecloud.com/bpm/api/4.0/tasks?assignment=ALL

Returns

{
    "totalResults": 15,
    "count": 15,
    "hasMore": false,
    "items": [
        {
            "title": "Approve Request for ProcessTravelProcess",

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!