N
Novu5mo ago
Ragu

Is there a limit on the number of step conditions created per workflow

I'm exploring few options related to workflow step conditions. Do we have any upper limit?
7 Replies
Pawan Jain
Pawan Jain5mo ago
@Ragu We don't have any upper limit as of now. How many conditions you are going to add per step?
Ragu
RaguOP5mo ago
Hi @Pawan Jain I am trying a workaround to add filter conditions per user on subscription to a topic in workflow. So the step condition might equal the no of users. I wanted to test performance in case of 1000 users because 1000 conditions are added and it might be n2.
Pawan Jain
Pawan Jain5mo ago
Can you share your complete usecase. I think, its not a good idea to create 1000s of conditions. It will be nightmare to manage and debug later on
Ragu
RaguOP5mo ago
That is true. This was not ideal. An example I can think of Topic : Bitcoin_alerts User 1 >> subscribes with condition >> alert me when price increase is 1% User 2 >> subscribes with condition >> alert me when price is between x and y values
Novu_Bot
Novu_Bot5mo ago
@Ragu, you just advanced to level 2!
Pawan Jain
Pawan Jain5mo ago
As per my understanding, price will change every millisecond and this information is stored by your system When will you trigger the novu workflow?
Ragu
RaguOP5mo ago
Above is not the exact scenario. But the notification trigger will be once per day.

Did you find this page helpful?