Hi,
I’m trying to use the below transform to create a pattern for accountID generation, But however I get below error. Looks like the variable : “ebsUser” is not getting detected in given Pattern.
can we not use custom transform here when we use create Account ID generation?
"name": "USER_NAME",
"transform": {
"attributes": {
"name": "Create Unique Account ID"
},
"type": "rule"
},
"attributes": {
"template": "$(ebsUser)$(uniqueCounter)",
"ebsUser": {
"attributes": {
"input": {
"attributes": {
"input": {
"attributes": {
"name": "adUpn"
},
"type": "identityAttribute"
},
"end": {
"attributes": {
"input": {
"attributes": {
"name": "adUpn"
},
"type": "identityAttribute"
},
"substring": "@"
},
"type": "indexOf"
},
"begin": 0
},
"type": "substring"
}
},
"type": "upper"
}
},
"isRequired": false,
"type": "string",
"isMultiValued": false
}```
ERROR:
Errors
An unexpected error occurred: The application script threw an exception: java.lang.IllegalStateException: Unable to generate an accountID for '1352424085291' on app 'Oracle EBS - Dev'. The resulting account ID was null. BSF info: Create Unique Account ID at line: 0 column: columnNo