In k2 rules I want to keep for loop inside if condition.may I know how to do it or is it possible?
Page 1 / 1
Hi @Namita,
I dont think it is possible to have a loop inside an If Condition, but you can have an IF Condition inside a loop:
Kind Regards
Prineel
Hello Namitha,
You can have for loop inside IF Condition using unbound Rules.
- Create an unbound Rule with For loop.
- Inside IF Condition add Execute Another Rule from Actions and use the unbound rule.
For more details please visit this link below
https://vijaydk2guy.wordpress.com/2017/03/22/nested-for-loop-using-unbound-rules/
Thanks,
Regards,
Vijay.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.