Wait for condition not working for each loop record

rmaroti
Tera Contributor

Hi Everyone,

 

I get all approval record for one group in loop up records and i'm getting correct output:

rmaroti_0-1744863854134.png

after above action i have added for each action to iterate each  approval record from above action:

rmaroti_1-1744863947206.png

After this i have added wait for condition as below and i'm facing issue in below wait for condition action:

rmaroti_2-1744864040340.png

Issue is:

-I have set up rule for approval "anyone approve or reject" so, i have approved or reject one of the record from all above approval then remaining will be update state auto "no longer required" as per the rule.
-as per wait condition if approval record state is approved or reject or no longer required then should not be wait for 1 min but it is waiting when  remaining all next record coming in wait  for condition which state is in "no longer required". which is incorrect.

 

can anyone suggest how to fix this issue or condition?

 

 



1 ACCEPTED SOLUTION

@rmaroti ,

 

Change the conditions to match below:

 

Shree_G_0-1744872489222.png

 

This will exclude the conditions of State (Approved, rejected, No Longer Required) and wait for other State.

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

View solution in original post

5 REPLIES 5

Shree_G
Kilo Sage

Hello @rmaroti ,

 

In the current scenario, you are making the wait condition true if State is (Approved, Rejected, No Longer required), Therefore it is waiting.

Shree_G_0-1744865607898.png

 

To help further, in which condition you expect the wait condition.

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

rmaroti
Tera Contributor

Hi @Shree_G ,

 

enable timeout when set as "true" it will wait if condition not match and if it is match then condition it won't wait.

@rmaroti ,

 

Change the conditions to match below:

 

Shree_G_0-1744872489222.png

 

This will exclude the conditions of State (Approved, rejected, No Longer Required) and wait for other State.

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.

Hello @rmaroti ,

 

Have you tried it, do you need any more help.

 


If this solution helped resolve your issue, please consider marking it as helpful or correct.
This will assist others in finding the solution faster and close the thread.