From 917453156dbc103fd47c9882bf86d24e54f8a513 Mon Sep 17 00:00:00 2001 From: Jon Herron Date: Fri, 27 Jan 2023 07:03:45 -0500 Subject: [PATCH] Allow set to be called from scripts --- .../spiffworkflow_backend/services/process_instance_processor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py index 9063f2780..18a61071e 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_processor.py @@ -172,6 +172,7 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore "sum": sum, "time": time, "timedelta": timedelta, + "set": set, } # This will overwrite the standard builtins