Commit 956f518f authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: add missing method notifyException.

parent 201a48b2
...@@ -584,6 +584,12 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject): ...@@ -584,6 +584,12 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
def notifySuccess(self, ob, transition_list, result, args=None, kw=None): def notifySuccess(self, ob, transition_list, result, args=None, kw=None):
pass pass
def notifyException(self, ob, action, exc):
'''
Notifies this workflow that an action failed.
'''
pass
def _executeTransition(self, document, tdef=None, form_kw=None): def _executeTransition(self, document, tdef=None, form_kw=None):
""" """
Execute transition. Execute transition.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment