Open ailton-moreira opened 2 years ago
Loop through rules and then execute them one by one like this:
parser.parsestr(rules) for rule in parser: try: rule.execute(params) if rule.status: //do whatever u want break except Exception as e: logging.error(e) print(e)
How can I execute multiple rules at same time?
I have two functions and I want to run it based on my conditions. It's possible to execute both condition at same time?
It's execute only the first function. But I want to run both functions, how can I do it?
Thank you!