mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 12:27:47 +00:00
1.9 KiB
1.9 KiB
id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, description, slug, tags
| id | title | pagination_label | sidebar_label | sidebar_class_name | keywords | description | slug | tags | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| random-numeric | Random Numeric | Random Numeric | Random Numeric | randomNumeric |
|
Generate a random number of any length. | /extensibility/transforms/operations/random-numeric |
|
Overview
Use the random numeric transform to generate a random number of any length.
Transform Structure
The random numeric transform only requires the standard type and name attributes:
{
"type": "randomNumeric",
"name": "Random Numeric Transform"
}
Attributes
-
Required Attributes
- type - This must always be set to
randomNumeric. - name - This is a required attribute for all transforms. It represents the name of the transform as it will appear in the UI's dropdown menus.
- type - This must always be set to
-
Optional Attributes
- requiresPeriodicRefresh - This
trueorfalsevalue indicates whether the transform logic should be reevaluated every evening as part of the identity refresh process. - length - This is the integer value specifying the required size/number of digits the random number must contain.
- This value must be a positive number and cannot be blank.
- If no length is provided, the transform defaults to a value of 10.
- Due to identity attribute data constraints, the maximum allowable value is 450 characters.
- requiresPeriodicRefresh - This
Examples
No explicit length is provided, so this transform generates a 10-digit random integer, such as "2334776774".
Transform Request Body:
{
"type": "randomNumeric",
"name": "Random Numeric Transform"
}
This transform generates a 6-digit random integer, such as "759931".
Transform Request Body:
{
"attributes": {
"length": "6"
},
"type": "randomNumeric",
"name": "Random Numeric Transform"
}