Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

How to set default password

BHUSHAN KEWAT
Tera Contributor

Once the new user is created set the default password: WelcomeToOraganizationNAME@123

1 ACCEPTED SOLUTION

Use 'before' Business Rule on Insert and write a script which is mentioned below

RaviGaurav_0-1727244611823.png

current.user_password.setDisplayValue("Welcome@2024");

View solution in original post

7 REPLIES 7

@Ravi Gaurav When I insert a new user, his password should automatically be set to Welcome@2024. How can this requirement be achieved?

Use 'before' Business Rule on Insert and write a script which is mentioned below

RaviGaurav_0-1727244611823.png

current.user_password.setDisplayValue("Welcome@2024");

Hi @Ravi Gaurav 

Thank you for your guidance on using a 'before' Business Rule to set the default password for new users. I appreciate the clarity in your explanation and the provided script snippet. I will implement this solution to ensure that new user passwords are set correctly to "Welcome@2024".

Your contributions to the ServiceNow community are invaluable, and I'm grateful for your support. I look forward to learning more from your content on YouTube and LinkedIn.

Best regards,
Bhushan Kewat