Update Password Data Pill

tomaslindev
Mega Guru

Hi everyone,
I have created a flow to update the emails of several users, create a new temporary password and force the reset of their passwords. The problem I have is that I am not able to link the generated password to the body of the email (it returns 0). I have tested the code to generate the password in a background script and it works.
Any ideas ?
Thank you very much in advance and best regards.

 

Flow 3.pngCreación de contraseña.pngCuerpo correo 1.png

1 ACCEPTED SOLUTION

MackI
Kilo Sage

Screenshot 2025-01-12 at 1.07.04 am.pngScreenshot 2025-01-12 at 1.07.23 am.png

Hi @tomaslindev 

 

I went through your case and setup a similar thing in my PDI.

As for email I can not test from here properly but I believe it will work. See the attached screenshot and updated sets artifacts for your reference. Let me know if this solution works for you or not.

 

If you like this opinion and your problem is resolved after reviewing and applying it. Please kindly mark this your best answer‌🌠‌ OR  mark it  Helpful â€Œâ›‘‌ if you think that you get some insight from this content relevant to your problem and help me to contribute more to this community

MackI | ServiceNow Developer | 2 *Mainline Certification | LinkedIn Top IT Operation Voice 2023 | Sydney,Australia

View solution in original post

5 REPLIES 5

MackI
Kilo Sage

Screenshot 2025-01-12 at 1.07.04 am.pngScreenshot 2025-01-12 at 1.07.23 am.png

Hi @tomaslindev 

 

I went through your case and setup a similar thing in my PDI.

As for email I can not test from here properly but I believe it will work. See the attached screenshot and updated sets artifacts for your reference. Let me know if this solution works for you or not.

 

If you like this opinion and your problem is resolved after reviewing and applying it. Please kindly mark this your best answer‌🌠‌ OR  mark it  Helpful â€Œâ›‘‌ if you think that you get some insight from this content relevant to your problem and help me to contribute more to this community

MackI | ServiceNow Developer | 2 *Mainline Certification | LinkedIn Top IT Operation Voice 2023 | Sydney,Australia