Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BPM OData - Tasks entity does not have property Process Instance Id

0 Kudos

Hello Team,

I have gone through SAP help site which details the Tasks entity and its properties which can be used to obtain BPM Task details using Tasks OData service. However I could not found a property which can help obtain only the tasks specific to process instances.

In NWA, when we view the Task details of a Process instance, there we can see the "Process Instance Id" column but no such provision in Tasks OData service.

Can someone share information on how to get tasks for a particular process instance using OData service. This is possible using BPM APIs so this should be possible with OData as well.

Thanks

  • SAP Managed Tags:
1 REPLY 1

0 Kudos

Hi, This was accomplished by developing a custom REST service using BPM APIs. Also used Process Name in the BPM APIs to get the tasks of all the versions of the Process model.

  • SAP Managed Tags: