Getting error on problem flow, whereas the flow executed and all values were updated.

Hello,

We have received an error on a case flow as follows:

com.pega.pegarules.pub.runtime.IndeterminateConditionalException: There was a problem getting a list: code: 0 SQLState: 57014 Message: ERROR: canceling statement due to user request

It came in the problem flow but all the required values in the happy path got updated. It happened only in one case.

Any idea why it came?

@SohamM95

Mostly this error will occur due to the conditions , in the stack trace you will be able to find out on which rule and step the issue happened . You can check on the conditions if there is any issue with the run time data.

Thank you

@parav1

I found the issue happened because of a when rule in the flow. But the when rule correctly evaluated because after the when rule there’s a send email shape which triggered successfully and end users received the emails.