cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching process details using process instance id

vipin_v2
Participant
0 Kudos

Hi,

I have process instance ids captured in a CE table and I am looking to include a feature in existing UI5 application to use the process instance id and fetch it' s corresponding process details like history, context data etc., back to UI.

Any helpfull doc/ ideas on how to implement this will be appreciated.

Thanks,

Vipin.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member191643
Active Contributor
0 Kudos

Fetching the Process History is not possible using BPM API. Context data can be fetched normally through oData Service.

No error logs or History info can be fetched through API.

junwu
Active Contributor
0 Kudos

first check if api will return you those info or not

create ejb to implement(check sap help regarding how to use bpm api) and expose as ws to be consume in ui5

vipin_v2
Participant
0 Kudos

Thanks Jun,

I found a doc (http://scn.sap.com/docs/DOC-41585) which provides the steps in second section and seems bpm api does return these info.

junwu
Active Contributor
0 Kudos

i don't believe the api will give that much info

vipin_v2
Participant
0 Kudos

Hi Jun,

It' s possible, I followed the doc and am able to retrive the task details.

Thanks,

Vipin.

junwu
Active Contributor
0 Kudos

you can get process history and context data?

vipin_v2
Participant
0 Kudos

Hi Jun,

I didn' t get a chance to try on process histroy however with the responses seen here looks like it is not possible.

Currently I am able to get the task details like the claimed user, list of potential users yet to claim the task etc., which is still usefull in my case.