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
@Ragu
We don't have any upper limit as of now.
How many conditions you are going to add per step?
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.
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
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
@Ragu, you just advanced to level 2!
As per my understanding, price will change every millisecond and this information is stored by your system
When will you trigger the novu workflow?
Above is not the exact scenario.
But the notification trigger will be once per day.