Hi,
I’m building a web services connector and, for the disable operation, I need to use the user email as part of the URL to make http call to the target system. The URL would be something like:
https://appXYZZ.com/Users/[email protected]
We don’t use the email as the NativeIdentity attribute so can’t use the “$plan.nativeIdentity$” placeholder as part of the URL in the HTTP Disable operation. We must find a way to add the email.
For that, I tried adding the following Disable provisioning policy:
{
"name": "Disable User",
"description": null,
"usageType": "DISABLE",
"fields": [
{
"name": "userName",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
},
"attributes": {},
"isRequired": false,
"type": "string",
"isMultiValued": false
}
]
}
And configured the Disable operation context URL to be “/Users/$plan.userName$”, but it doesn’t work. I have enabled debugging on the VA and I can see that the userName is not being added to the http call.
How can I add that attribute to the provisioning plan? What is the point of the Disable provisioning policy if it’s not to add attributes to it?
Thanks.
David.