oneuptime
oneuptime copied to clipboard
Increase functionality of If/Else component in workflows
Is your feature request related to a problem? Please describe. This component its very limited to implement a bit more complex operations to compare, for example "contains/not contains" or add more than 2 input values and AND/OR operators between them.
Describe the solution you'd like There are some options that we could have here, one of them could be:
- Let add input files as the user wants (maybe with a high limit to avoid performance issues)
- Add functions like AND/OR between conditions
- Add more operations like "contains", "no contains", "is empty",
- NICE TO HAVE: have at least 2 levels of "nesting" in if/else conditions
That would be something I to would be interested in.
We have added Starts With, Ends With, Contains, Does not Contain.
For recursive conditions, its much easier to use JavaScript component and write a script there.
Please let me know if this helps!
Please check: https://github.com/OneUptime/oneuptime/pull/1648