let restricted script engine use random
This commit is contained in:
parent
d91f0dcca8
commit
420e9e32a8
|
@ -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(),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue