Skip to main content

Hello,


I need to list and do some operations on the running instances of a process. I created another process, and in object explorer, I tried to get the list from:


Smartobject(s) Server - Smartobject Server - Workflow Reports - Workflow Solutions - <Solution> - <Project> - <Process Instances> - List method - List process instances


But this returns me an empty list. and I can check that there are indeed running (active) process instances.


Is this possible without querying the database directly?


I am using VIsual Studio 2012 with K2 BlackPearl 4.6.6.

Hi can you break your query even further, as Im having a hard time getting to know what you looking for.


Or I should ask what are you trying to do overall?


I'll try.


I am building a new process that must be able to check if there are running instances of (another) specific process.


Example:


I start one process, and it remains ACTIVE.


Then I start the process I'm developing, and it lists the other process. Then I do some operations, as stopping that process, removing the process, etc.


Is this clear?


Do you have view rights for the process you're querying?


Reply