Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Passing Endpoint-Specific Parameter in Database Connector Payload

rebeccajenkins
New Contributor
New Contributor

We are potentially needing to pass a value in a DB-type connector that is endpoint-specific--a "create date" attribute for an account under a particular application. I am wondering if it is possible to fulfill something along the lines of the scenario (and if so, how to format in the DB connector CreateAccountJson / UpdateAccountJson): '${account.created_on}' when account.endpointkey=x. 

1 REPLY 1

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @rebeccajenkins 

Unfortunately, you won't be able to include the value of account.createdate in the createaccountjson because the account doesn't exist in the target system. However, you can try using the binding variable '${account.createdon}' in the UpdateAccountJson instead.
Here's an example:

````````````````````````````````````

{
"name": "John Doe",
"email": "john.doe@example.com",
"created_on": account.endpointkey === 'x' ? '${account.createdon}' : null
}

```````````

{
"createDate": "${account.endpointkey == 'x' ? account.createdon : ''}"
}

````````````````

Thanks,

If you find the above response useful, Kindly Mark it as "Accept As Solution".