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

Service Account Name Rule

Mortal
Regular Contributor
Regular Contributor

Hi Team,

For the Service account, we have a rule like "SVA_Snowflake-${Country}_${USERNAME}###INCREMENTINDEX###" which takes the country and username (which are dynamic attributes) from the service account request form to generate the account name. Can we configure where the account name should develop based on the requestor's country, username, or other attributes? If yes, can you guide me?

5 REPLIES 5

PremMahadikar
All-Star
All-Star

Hi @Mortal ,

Can you try 

  • ${requestor} 
  • ${requestor.username}

 

If this helps, please consider selecting Accept As Solution and hit Kudos

Mortal
Regular Contributor
Regular Contributor

Hi @PremMahadikar,

getting the error "Account name not generated. Please verify rule and dynamic attributes or enter name manually" using above attribute. 

Those variables are not exposed in service account name rule

rushikeshvartak_0-1719289767886.png

 


Regards,
Rushikesh Vartak
If you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.

@Mortal ,

As dynamic attributes are working in accountnamerule.

Workaround would be to create dynamic attribute for requestors username/country etc to auto populate and then use it in accountnamerule.

select username as id from users where userkey =${requestor}

 

If this helps, please consider selecting Accept As Solution and hit Kudos

Mortal
Regular Contributor
Regular Contributor

Thank you @PremMahadikar 

The above query is working fine, and the attributes are populating automatically, we can generate the account name based on that.