Assigning a setting equal to a value of another setting

(imported topic written by SystemAdmin)

Hello,

I’m new to Action Script and am trying to be clever with Relay Affiliation.

I would like my relays to update the _BESRelay_Register_Affiliation_AdvertisementList setting with the value of the “Location By Subnet” setting. If I can get that to work, I’d set affiliation for the desktops/laptops as well.

For the relays, my relevance seems to be working:

exists service “BESRelay”

exists setting “Location By Subnet” whose (value of it != “”) of client

But I can’t seem to hit the Actions portion:

setting “_BESRelay_Register_Affiliation_AdvertisementList”="(value of settings “Location By Subnet” of client)" on “{now}” for client

I can’t seem to find an example of a setting being set to the value of another setting. Is this allowed?

(imported comment written by BenKus)

Use curly brackets:

setting “_BESRelay_Register_Affiliation_AdvertisementList”="{(value of settings “Location By Subnet” of client)}" on “{now}” for client

Ben

(imported comment written by SystemAdmin)

Perfect, thank you!