Functions
Defining Templates
Journey Programming Language Support Following built-in functions, can be invoked with the context or without context.
- timestamp: For current timestamp
- now: For Date
- uuid: For random Uuid
- add: for adding multiple expressions
- captcha: for generating random captch
- mod: for doing aritmatic mod
- ceil: for ceiling Double
- floor: for flooring Double
- round: for Rounding Double
- cint: for converting expression to integer
- sub: for Arithmatic Subtraction
- mul: for Arithmatic multiplication
- div: for Arithmatic division
- concat: for concatinating Expressions converted to string
- lpad: for left padding
- rpad: for right padding
- mid: for taking mid part of string
- left: for taking left part of string
- right: for taking right part of string
- from_json: for reading json file
- fake: for generating fake values
- encode: for encoding string
- random: for generating random integer between range
- array: for generating array of defined length
- unique_random_elements: for chising sub array from array of unique random elemenets
- contains: checks if string contains other string
- random_element: for chosing single random element from array