2025 Feb 04 12:51 PM - edited 2025 Feb 10 10:32 AM
Hello guys,
We are mapping attributes with IPS transformations (Source Entra ID / Target IAS) and I am having an issue when setting a condition that is not working. (line 18)
{
"sourcePath": "$.givenName",
"targetPath": "$.userName",
"functions": [
{
"function": "substring",
"beginIndex": 0,
"endIndex": 1
},
{
"function": "concatString",
"suffix": "$.surname"
},
{
"condition": "($.surname.length() > 11)",
"function": "substring",
"beginIndex": 0,
"endIndex": 12
}
],
"correlationAttribute": true
},
Whitout the condition "condition": "($.surname.length() > 11)" it is working fine but when there is a login name which is less than 12 characters I get an error during the provisioning job.
So I would need the last part (lines 17 to 22) to run only when a login name is longer than 12 characeters but their must be a syntax problem on my condition.
Any ideas?
Cheers
N
Request clarification before answering.
| User | Count |
|---|---|
| 10 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.