You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/nut/ruler/durable_rules/testpy/Dynamic JSON object rules documentation.py", line 65, in <module>
host.set_rulesets(rulesets)
File "/Users/nut/.pyenv/versions/durable_rules/lib/python3.6/site-packages/durable/engine.py", line 778, in set_rulesets
self.register_rulesets(ruleset_definitions)
File "/Users/nut/.pyenv/versions/durable_rules/lib/python3.6/site-packages/durable/engine.py", line 887, in register_rulesets
rulesets = Ruleset.create_rulesets(self, ruleset_definitions)
File "/Users/nut/.pyenv/versions/durable_rules/lib/python3.6/site-packages/durable/engine.py", line 444, in create_rulesets
branches[name] = Ruleset(name, host, definition)
File "/Users/nut/.pyenv/versions/durable_rules/lib/python3.6/site-packages/durable/engine.py", line 317, in __init__
self._actions[rule_name] = Promise(host.get_action(action))
File "/Users/nut/.pyenv/versions/durable_rules/lib/python3.6/site-packages/durable/engine.py", line 761, in get_action
raise Exception('Action with name {0} not found'.format(action_name))
Exception: Action with name restartTimer not found
Thank you very much for sharing this module.
I tried to define a timer using JSON, and there is an example in the reference document( https://github.com/jruizgit/rules/blob/master/docs/json/reference.md#timers ), but received an error message at runtime.
Error:
Example:
The text was updated successfully, but these errors were encountered: