wait for condition getting cancelled

deepika46
Tera Contributor

Hello Experts,

 

In my workflow i am using the Wait for Condition. Till the time it is waiting for answer to be true, it is waiting. As soon as the answer becomes TRUE, the Wait for Condition is getting cancelled. Any idea where i am doing wrong or how to debug this.

15 REPLIES 15

AshishKM
Kilo Patron
Kilo Patron

Hi @deepika46 ,

I think, wait for condition is working as expected unless we are managing the false condition also.

After the variable change [ on which this wait for condition applied ] there is nothing else to check.  So write the condition check in condition script part and configure the path forward for false condition.

 

AshishKMishra_0-1701386362049.png

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Hi @AshishKM ,

 

Is there any way i can debug where it is going wrong. 

I tried try catch inside the script but i believe since it is geting cancelled, it is not even entering the script

 

The time it is waiting, the activity is showing green, as soon as for the variable condition it should be going forward, the workflow is getting cancelled

try to roll-over mouse on cancelled wait for condition an check if there is any information available to debug.


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution