Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Service account Name Value

hareeshreddyk
New Contributor III
New Contributor III

Hli  Can not we use the generated Account Name value in the Connection?

I have tried with "accountsObj?.accountID" to get the "Account Name" value in into target from AddaccessJSON it was successfull,

\"username\": \"${requestAccessAttributes.get('ACCOUNTTYPE') == 'Service Account'? accountsObj?.accountID

but in CreateaccountJSON the same "accountsObj?.accountID" did not work.

Requirement is to get the "Account Name" value into target. So what would be the variable in CreateAccountJSON, AddaccessJSON?

hareeshreddyk_0-1728462577390.png

So how can i achieve this?

2 REPLIES 2

Ankky
Regular Contributor
Regular Contributor

Hello @hareeshreddyk,

Try ${task.accountName} in CreateAccountJSON and AddaccessJSON.

hareeshreddyk
New Contributor III
New Contributor III

hi @Ankky ,

Yes i was suspecting same. It worked

Reference: Database Schema Reference (saviyntcloud.com)

\"username\": \"${requestAccessAttributes.get('ACCOUNTTYPE') == 'Service Account'? arsTasks.accountName}\"

Thanks