Not sure what you are doing, but the actionscript as written is taking another setting on the client enpoint and setting it to a different same.
So if you already have a setting called ‘RAM’ on the client, it will set the same value to the setting ‘_diffram’
I think you are trying to take the value of a property on the server and set it on the client. That’s a very different operation and not sure how you can get a session relevance result put into a client action.
This is because when you run the wizard it creates an action that, in turn, creates a STATIC setting called “Location by subnet”. “Ram” is a property, which is basically DYNAMIC relevance that is constantly evaluated on the endpoint. They may seem similar but they are in fact different. So if you want a setting to constantly compare the current RAM property to a static setting you only have to use the relevance from the RAM property. You can find that in the console at “Tools” | “Manage Properties” | “RAM”. If that confused you here is what you need to do:
setting “_diffram”="{(relevance_for_setting)}" on “{now}” for client
or
setting “_diffram”="{(if (exists true whose (if true then exists ram else false)) then (if (it > 128) then ( ((it / 32) * 32) + (if (it mod 32 > 16) then 32 else 0) ) else it) of (size of ram / (1024*1024)) as string & " MB" else “”)}" on “{now}” for client
Also here is a historical thread that looks like what you are trying to accomplish: