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, admin@spiffworkflow.org,
nelson@spiffworkflow.org nelson@spiffworkflow.org
] ]
approvers:
users:
[
malala@spiffworkflow.org,
oskar@spiffworkflow.org
]
permissions: permissions:
# Admins have access to everything. # Admins have access to everything.

View File

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