Hitachi Vantara Pentaho Community Wiki
Access Keys:
Skip to content (Access Key - 0)


This step generates random numbers, integers, strings and even UUID


This step was first introduced in version 3.1.0-RC1 (PDI-1040)


Property Description
Name The name of the new field that will contain the random value
The type of data you want to get back:
  • Random number : generates a random number between 0 and 1
  • Random integer : generates a random 32-bit integer
  • Random string : generates a random string based on a 64-bit long random value
  • Universally Unique Identifier (UUID)
  • Universally Unique Identifier type 4 (UUID4)
  • Random Message Authentication Code (HmacMD5)
  • Random Message Authentication Code (HmacSHA1)


The following example is also available in the samples/transformations folder of the Kettle distribution under the name

Generate random value - all usecases.ktr

This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3.3, the Enterprise Wiki