Active Process Instance not showing up in Cockpit

541 views
Skip to first unread message

galen...@gmail.com

unread,
Feb 24, 2014, 8:19:07 PM2/24/14
to camunda-...@googlegroups.com
Hi,

If a process instance is running, there are certain cases where it doesn't show up in Cockpit in the "Process Instances" tab.

For example, if I have a process like this:

http://camunda.org/share/#/process/fa6dcbf8-6a0d-4272-b0fe-959ae44efdfa

(except with no asynchronous tasks)

Then it never shows up in Cockpit (even though it's running, active process instance).

However, if I change the first task (before the long sleep) to be asynchronous, then it shows up. I understand that this is most likely because the information gets committed to the database in the latter case, but is there no other way to know that the process is running?

Not a big deal, but it just confused me for a while, and I didn't know why my process wasn't showing up :) It might be worth opening a lower-priority ticket on this, if there is a way to implement it.

Thanks,
Galen

Christian Lipphardt

unread,
Feb 25, 2014, 6:04:21 AM2/25/14
to camunda-...@googlegroups.com, galen...@gmail.com
Hi Galen,

You are correct. The state is being committed to the database when a "wait-state" is reached. So when you have long running synchronous tasks, the state of the process is not easily visible.
My advice/best practice/workaround is to make long running tasks asynchronous so the job executor will process them.

Also there is an open ticket to allow a user to make the start event asynchronously, so a process is always created and committed to the database before anything else. ( https://app.camunda.com/jira/browse/CAM-424 )

Cheers,
Christian

galen...@gmail.com

unread,
Feb 25, 2014, 1:11:49 PM2/25/14
to camunda-...@googlegroups.com, galen...@gmail.com
Hi Christian,

Thanks, that makes sense.

Galen

Reply all
Reply to author
Forward
0 new messages