Refresh portal fields on change of 'Requested For'

steveturley
Tera Guru

I have a variable set which populates fields like 'Email Address', Phone number' and 'Location' by using lines like  

'javascript:gs.getUser().getEmail();' in the 'Default Value' fields of the variable

 

When the 'Requested For' is changed on the item, these values do not update to reflect the changed users details . What would be the best way of either getting them to update or remove the previous details?

 

Thanks!

1 ACCEPTED SOLUTION

Hi @steveturley 

 

Not sure, but try use Auto Populate feature and populate the rest 3 variable based on same. and it will do work for you

LearnNGrowAtul_0-1704455752646.pngLearnNGrowAtul_1-1704455771648.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @steveturley 

 

Where are you changing the Requested For? Screen shot please.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG 

Please see screenshot below. The 'Requested For' name is being changed and I'd like the other fields to update or clear if possible

steveturley_0-1704455341360.png

 

 

Hi @steveturley 

 

Not sure, but try use Auto Populate feature and populate the rest 3 variable based on same. and it will do work for you

LearnNGrowAtul_0-1704455752646.pngLearnNGrowAtul_1-1704455771648.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************