Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Reset AD password Activity showing error

siva44
Tera Contributor

Hai I am using the workflow  run script for reset AD password through workflow whenever i am trying to trigger the reset AD password then showing  error like  "Input variable Password is not Password2 type" and i am correctly mapped that encrypter value to password field in reset AD password activity

 

run script:

//Generate Random Password and Set AD password.

               var encr= new GlideEncrypter();

                var clearString = new PwdCryptoSecureAutoGenPassword().generatePassword();

                var encrString = encr.encrypt(clearString);  

               

                workflow.scratchpad.pass = encrString;  

                var decrString = workflow.scratchpad.clearpass = encr.decrypt(encrString);  

0 REPLIES 0