Measure execution time

1
0
-1

processApi.executeFlowNode() is taking more than 1 minute in Production under peak load. The process model consists of several flow nodes. Would like to understand which flow node is time consuming under heavy load.Portal shows the steps started and ended but in hour:min only. How to find time taken at each flow node in milliseconds/seconds, may be DB queries?

1 answer

1
0
-1

Hello,

When the default Bonita Portal is not enough, you can design your own page or program to show the information you need. You should not use DB requests but provided REST or Java APIs to do so.

You can find documentation about how to develop UI artifact(s) like a page here and how to develop a Java program there.

Regarding the APIs, information is available from this page for REST and this one for Java. In your case, you may want to use "bpm/activity" or "bpm/archivedActivity" REST endpoints or the ProcessAPI from Java.

Notifications