Merge pull request #161 from sartography/feature/messages_again_and_again

workflow.catch() was nice, in that it is where we could send events a…
This commit is contained in:
Dan Funk 2023-03-01 14:24:34 -05:00 committed by GitHub
commit 0ac7cdd4ff
2 changed files with 9 additions and 1 deletions

View File

@ -30,6 +30,12 @@ groups:
admin@spiffworkflow.org,
nelson@spiffworkflow.org
]
approvers:
users:
[
malala@spiffworkflow.org,
oskar@spiffworkflow.org
]
permissions:
# Admins have access to everything.

View File

@ -350,7 +350,9 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore
external_methods: Optional[Dict[str, Any]] = None,
) -> Any:
"""_evaluate."""
methods = self.__get_augment_methods(task)
methods = {}
if task:
methods = self.__get_augment_methods(task)
if external_methods:
methods.update(external_methods)