Product DocumentationDeveloper GuidesODSL LanguageFunctionsAll FunctionsrandomIntegerOn this pagerandomIntegerGenerates a random integer number between 0 and the supplied number - 1Syntaxinteger = randomInteger(max)This returns an integer between 0 and max-1Example// random number between 1 and 10random = randomInteger(10) + 1