Process instances are stucked while querying data from a View in database.

Certified Associate Developer

Hi,

the process instances are stucking ,while querying the data from a view . the error is coming as:

Expression evaluation error in rule!x, at fn!a!queryEntity18r3.An error occurred while retrieving the data.

The view is having around 51000 rows and 81 colums.Its loading time is around .8147 second and query rule is taking total 1133 ms for loading and then process stucks.

In logs, it is showing as:
Statement cancelled due to timeout or client request.

Please suggest.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Hi Stefan,

    the query execution time limit is 10 sec as per link  given by you, but my query rule is taking 1607 ms =1.607 sec for execution,when I test the query rule, then it works fine, it gives me result in 1607 ms, but in process instance , where this rule is called, that instance stucked while running the process.

    its gives error:

    An error occurred while evaluating expression: =rule!x(y: rule!z(y: pv!y),y: pv!y) (Expression evaluation error in rule 'p' at function a!queryEntity_18r3 [line 9]: An error occurred while retrieving the data.) (Data Inputs)

    In logs its saying as:

    could not execute query
    Statement cancelled due to timeout or client request
    Please suggest.
Children