Script Helper
LIB-003 Members Test before use
Writing a shared function text bank item
The contents of a TBX_GLOBAL_FUNCTION_* text bank item: a single function expression for other scripts to eval.
Text banks › Shared functionsTextBankAdvanced
Test before use. This script hasn't been tested by Catalyst Workflow yet. Run it in a non-production case first.
JScript.NET
1// Text bank item: TBX_GLOBAL_FUNCTION_MIN_HOURS
This script is for members
Members see the full code, the values to change and the cautions.
See membershipAlready a member? Sign inHow it works
Wrapping the function in parentheses makes eval() return the function itself. Keep inputs as parameters so the function never depends on Event directly.
Members also see 1 value to change and 1 caution for this script.