Hi,
Rather than create two different connectors (user & Admin) I’m trying to make the AC_NewParent conditional a based upon the first character of their CN.
I can’t get this to work, and I think its because you can only reference ID attributes, not source attributes. However, I have several hundred ADs to connect, so I don’t want to make ID attributes for each source. Anyone have any ideas?
"name": "AC_NewParent",
"transform": {
"type": "conditional",
"attributes": {
"expression": "$isAdmin eq A",
"positiveCondition": "OU=Deprovisioned,,OU=Admin,DC=abc,DC=net",
"negativeCondition": "OU=Disabled Users,OU=User Accounts,DC=abc,DC=net",
"isAdmin": {
"type": "substring",
"attributes": {
"start": 0,
"end": 1,
"input": {
"type": "accountAttribute",
"attributes": {
"sourceName": "SourceName",
"attributeName": "CN"
}
}
}
}
}
},
There was an error trying to disable the account
An unexpected error occurred: Invalid get reference: $isAdmin - seaspray[line 1, column 1]
Thanks