and more in a single search tool across platforms. Read the announcement here. |
05/30/2023 10:29 PM
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.
06/01/2023 01:43 AM
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,