I'm setting a parameter (let's say my_param) to a running build via TC service message (##teamcity[setParameter name='my_param'...) and I want to get the new value of the parameter later but still within the run of the build via REST API (.../httpAuth/app/rest/builds/id:123/resulting-properties/my_param) but it still returns the old value. It returns the new value when the build is finished but it is too late.
Can someone please know how to do that? I'm using TC 10.x version.
Thanks in advance for your help,