Skip to main content

Hi,

 

We have workflow which is having line rule. In line rule we are giving call to database view, and we are checking if database view return count is greater then zero. If it is greater the zero we are calling next activity.

 

This was working fine, but suddenly it stop working and in error log it throws error "Invalid attempt to read when no data is present". I tested running database view in sql server. The database view is returning rows properly. Not sure why it is happening. Please help as it is urgent to fix the issue.

 

Added screen shot

 

Thanks,

Prashant.


17203iD6A8E163FE227C6C.png
15490i5679857C590CAC72.png
16855i2C59CEC47647AFA5.png

 

 

If you're making the database call through a SmartObject query, try running the SmartObject tester tool making sure to use the account the workflow uses to query (most likely the K2 service account but could be set up differently for that service instance) and see if you get the expected results.

 


Hi Tim,

 

Thanks for reply, I check running smart object it ran sucessfully and given me the result. Attach is the result.

I also check the process rights for that workflow, all rights are present.

 

Please let me know any other possible cause for error.

 

Thanks,

Prashant.


17139iFFBAA65FF831953B.png

Reply