Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Reading request attributes in Connection configurations

varunpuri
Regular Contributor
Regular Contributor

Hi,

Is it possible to read the attributes from Request data into the connection attributes eg : createAccount, updateAccount etc. ?
If yes, can you please share some sample JSONs which we can refer while building such a configuration ?

Best Regards,
Varun

4 REPLIES 4

RakeshMG
Saviynt Employee
Saviynt Employee

Please refer to following which the binding variables are supported for Rest Connector :

document https://docs.saviyntcloud.com/bundle/REST-v2020x/page/Content/Configuring-the-Integration-for-Provis...

 

To utilize any dynamic attribute in the request and to obtain that value in the newly created account or updated account, use a format similar to the following

 

{
"accountIdPath": "call1.message.ResourcePartyNumber",
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "<<URL>",
"httpMethod": "POST",
"httpParams": "{\"FirstName\": \"${user.firstname==null? '': user.firstname}\",\"LastName\": \"${user.lastname==null? '': user.lastname}\",\"Username\": \"${user.systemUserName==null? '': user.systemUserName}\",\"ResourceEmail\": \"${user.systemUserName==null? '': user.systemUserName}@organization1.com\",\"BusinessUnit\": \"<organizationname><Business Unit>\", \"LegalEntity\": \"organization1<LE>\", \"ResourceOrganizationName\": \"${requestAccessAttributes.get('ResourceOrganizationName')}\",\"ResourceOrgRoleCode\": \"${requestAccessAttributes.get('ResourceOrgRoleCode')}\",\"SalesGroup_c\": \"${requestAccessAttributes.get('SalesGroup_c')}\",\"UserStatus\": \"A\",\"PersonType\": \"${requestAccessAttributes.get('PersonType')}\",\"HRManagerEmailAddress\": \"abc@organization1.com\",\"TimezoneCode\": \"${requestAccessAttributes.get('TimezoneCode')}\",\"JobTitle_c\": \"Pro, Accountant\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/vnd.oracle.adf.resourceitem+json",
"successResponses": [],
"unsuccessResponses": {
"statusCode": [
400,
401,
404,
405,
500
]
}
}
]
}


​Regards

Rakesh M Goudar

varunpuri
Regular Contributor
Regular Contributor

Thank You, @RakeshMG for your response.
Also, apologies as I did not completely clarify the question.

Actually, this capability is required in the Active Directory connector. Can we refer requestAccessAttributes object within the connector configurations of Active Directory connector ?

Best Regards,
Varun

RakeshMG
Saviynt Employee
Saviynt Employee

@varunpuri You can use in Microsoft Active Directory :

RakeshMG_0-1681301819409.png

 

https://docs.saviyntcloud.com/bundle/AD-v23x/page/Content/Provisioning-Active-Directory-Accounts-and...


​Regards

Rakesh M Goudar

varunpuri
Regular Contributor
Regular Contributor

Thank You, @RakeshMG , i'll test these configurations and revert in case of any further questions.

Best Regards,
Varun