Hello,
Im trying to forward an access request via workflow, it sends 200 response but doesnt actually forward it (I see that the access request is still linked to the old owner via list pending access requests on postman)
Heres my HTTP request config :
"HTTP Request 4": {
"actionId": "sp:http",
"attributes": {
"authenticationType": "OAuth",
"jsonRequestBody": {
"comment": "test",
"newOwnerId": "{{$.loop.context.attributes.new_identity_id}}"
},
"method": "post",
"oAuthClientId": "smth",
"oAuthClientSecret": "$.secrets.xxx",
"oAuthCredentialLocation": "oAuthInHeader",
"oAuthTokenUrl": "https://xxx-sb.api.identitynow.com/oauth/token",
"requestContentType": "json",
"url": "https://xxx-sb.identitynow.com/ beta/access-request-approvals/{{$.loop.loopInput.id}}/forward"
},
"catch": [
{
"next": "Send Email 12"
}
],
"displayName": "Forward access request",
"nextStep": "Send Email 4",
"type": "action",
"versionNumber": 2
},