We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Customization for the account name regex error message for Service Accounts

yogesh
Regular Contributor III
Regular Contributor III

We are using below regex on a service account endpoint and it is working fine, but the error shown to the end users is very technical and not user friendly.

Is there a way to customize the error message that is shown to the user on invalid regex?

yogesh_2-1679901534657.png

Service account form:

yogesh_0-1679900575651.png

The error shown to the end user:

yogesh_1-1679900591741.png

 

6 REPLIES 6

RakeshMG
Saviynt Employee
Saviynt Employee

Please try updating the label in :

Admin -> Settings -> User Interface Branding Configuration -> Manage labels 

RakeshMG_0-1679904344625.png

 


​Regards

Rakesh M Goudar

yogesh
Regular Contributor III
Regular Contributor III

Thanks Rakesh,

The issue we have is that we have multiple service account applications and with this approach it will change the message for all apps, but we have different regex rules for each application.

Is it possible to have this error message configured differently for each application?

 

RakeshMG
Saviynt Employee
Saviynt Employee

This configuration is globally available and cannot be added specifically for each application. 


​Regards

Rakesh M Goudar

Suniljaiswal
Saviynt Employee
Saviynt Employee

You can add a simple message in Dynamic attribute for each endpoint about what the requirement of Regex look like since the error message is generic about regex failed. 
Like the one you already have for approval, you can say the account name should be alpha numeric and between 3 - 20 character  etc.

yogesh
Regular Contributor III
Regular Contributor III

Thanks Sunil,
We do have such guidelines written as text on our PROD form, see example below:

yogesh_1-1679938236814.png

But there are certain UI and UX issues here, first one being that the instructions regarding the "Account Name" field are written after the actual field. Most requesters tend to read and fill the form in order as they go along. Often they try to fill the account name field first, without having read the entire form first in detail. The error message pops up as soon as they leave the field (click out of it, or onto some other field) and here they see a issue too technical which they may not understand. Unfortunately we can not put any instructions above the account name field.

Anyways using Rakesh's solution, I guess we can put a more generic message in the popup that will work across all forms and will make more sense to the end users, something like below:

yogesh_2-1679938807898.png

This will work for all service account applications and will encourage users to read the form first.

And yes apparently there are users who have infact tried putting an account name more than 20 characters long, which is something that I will never understand why. Most users complain about having a password policy requiring more than 8 characters long passwords so I really do wonder how they plan on remembering the 20+ character account name 🙂 
Anyways I digress.

Suniljaiswal
Saviynt Employee
Saviynt Employee

Yes. this should be better than a generic failed regex message. May be list down all regex conditions in simple statements in DA.