Can I recieve diagram of process (BPMN) through API?

1
0
-1

I need to recieve diagram of process using Bonita's API. Is it possible?

Comments

Submitted by Sean McP on Wed, 03/22/2017 - 05:01

Why would you want to do this?

Submitted by juliashka95 on Wed, 03/22/2017 - 08:49

I want to do this because we need to receive process diagram on BPM portal and note on diagram current state (task).

Submitted by Sean McP on Wed, 03/22/2017 - 21:23

This is a feature of the Subscription Model and is not available in Community.

That being said I can imagine a scenario whereby for a case you could do the following (in pseudo code):

get case
getActivities (API)
getArchivedActivityInstances (API)

then sort them into order and create your own HTML that can display an SVG diagram of the process.

reference here

regards
Seán

PS: As this reply offers an answer your question, and if you like it, please Mark UP and/or as Resolved.

1 answer

1
0
-1
This one is the BEST answer!

Diagrams only exist in Studio so no.

However if you interrogate the ProcessDefinition through API and/or REST this might give you the information you need.

regards
Seán

PS: As this reply answers your question, please mark as resolved.

Notifications