On change of User, get the user's building and building's support group

Bindhu1
Tera Contributor

Hello, 
I have a Cat item , where i have below 3 variables ,

1. requested for (reference to sys user) : 
2. Building (String):
3.Building's support group( string):

Based on the user selection , i need to get the building address (which is on user form) and building's  support group (which is on building form), kindly help me in the script.

Bindhu1_0-1722513837415.png

 

1 ACCEPTED SOLUTION
4 REPLIES 4

Zach Koch
Giga Sage
Giga Sage

You should be able to do this without any script using auto-populate variables functionality. Take a look at this excellent article from Mark Roethof that breaks down how to use it.

Auto populate variables 

Here is a helpful video as well

video 

You should be able to fill in both your Building and Building's support group based on your requested for variable using this.

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Wow. This is super easy now. Thanks for letting me know!

Krushna R Birla
Kilo Sage

Hi @Bindhu1 

 

You can open both the variables Building (String), Building's support group( string) and then look for auto populate section. Their you need to add reference and also dependent question 

Your dependent question would be "requested for"

 

KrushnaRBirla_0-1722515747068.png

 

If this solution resolves your query, kindly mark it as the accepted solution and give it a thumbs up.

 

Best Regards,
Krushna Birla