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

how to setup password for user using flow designer

Alon Grod
Tera Expert

Hi,

Im trying to setup password using a flow designer but im getting this error:

AlonGrod_0-1787544007262.png



AlonGrod_1-1787544115394.png

 

4 REPLIES 4

Anand__99
Mega Sage

Hi @Alon Grod ,

 

Screenshots are not clear.

 

Refer this : https://www.servicenow.com/community/itom-forum/is-there-a-way-to-set-user-password-via-script/m-p/9...

 

If my response answered your query, please mark my response as correct/helpful.

Thanks
Anand

@Anand__99 if you click on the screenshots they are very clear

Ankur Bawiskar
Tera Patron

@Alon Grod 

images are not clear, please add again as attachment to your post/comment

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Ehab Pilloor
Giga Sage

Hi @Alon Grod,

 

It seems to look like setDisplayValue line is not working in scoped Application.

 

https://community.servicenow.com/community?id=community_question&sys_id=bf3ae364db985d102454e6be1396...

The cause it that there's no .setDisplayValue() in scoped application. It's only supported in Global.

Check the documentation to confirm.

https://developer.servicenow.com/dev.do#!/reference/api/australia/server/no-namespace/c_GlideRecordS...

 

It's necessary to use setValue() or use dot notation in scoped application.

 

Ref: https://www.servicenow.com/community/developer-forum/function-setdisplayvalue-is-not-allowed-in-scop...

 

Please Accept this response as Solution if it assisted you with your question & Mark this response as Helpful.

 

Kind Regards,

Ehab Pilloor