let restricted script engine use random

This commit is contained in:
burnettk 2024-03-12 12:11:57 -04:00
parent d91f0dcca8
commit 420e9e32a8
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import decimal
import json
import logging
import os
import random
import re
import time
import uuid
@ -319,6 +320,7 @@ class CustomBpmnScriptEngine(PythonScriptEngine): # type: ignore
"uuid": uuid,
"min": min,
"max": max,
"random": random,
**JinjaHelpers.get_helper_mapping(),
}