Skip to main content

Hi,


When I query Process Instance using SmartObject Ado.net, i don't see few process instances.


But If use Conn.OpenWorkList, i am able to get those process isntances. Those process Instance status Available. and able to see them in K2 Process Overview page.


//this retrieves process instances.


workitemList _WorkList = _Conn.OpenWorklist();


 


//Smart Object doesn't bring them.


//sample syntax.


using (SOCommand command = new SOCommand


("SELECT * FROM Process_Instance where Folio = '{0}'", connection))
 



please adivse.


 


regards,


anand


 

Querying the Process Instance data using the SmartObjects still enforce View permissions. Make sure that the account executing the SmartObject has View permissions on the process.


SmartObject has view permission. Only few process Instance not found, able to get some process instance records some time.


Reply