The transform documentation listed here is outdated and is nonger actively maintained. Please refer to https://developer.sailpoint.com/idn/docs/transforms for IdentityNow Transform documentation.
In order to get the Example 2 working, the name must be set to "Cloud Services Deployment Utility".
The input needs to be passed as an explicit input which gives:
{
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getEndOfString",
"numChars": "4",
"input": {
"type": "accountAttribute",
"attributes": {
"sourceName": "HR Source",
"attributeName": "EMPLOYEE_ID"
}
}
},
"type": "rule",,
"id": "Test rule getEndOfString"
}