Thank you very much for the response, is there any way I could achieve the behavior of getProperty() function in data transform?
Like I said above I am trying to get the value of a property(Property A) , but I dont have the name of the property, that name is coming as a value of other property , I have to get this in the data transform, for now I wrote a custom function, I am thinking is there any other way I could achieve without writing a custom function.
Posted: 4 years ago
Posted: 19 Jan 2017 15:23 EST
Pete Gousios (PeterGousios_GCS)
Sr. Software Solutions Engineer
Based on our screen share realted to SR-B14007, the actual desired goal is to obtain a value of a property that you don't know until runtime. I was able to find an out of the box function that you can leverage.
I tested this and if you put the property into a string parameter defined in your Data Transform (I used DesiredPropropertyName) you can then call
Set .myRetreivedValue equal to @pxRuleManagement.pxGetPropertyValue(myStepPage, PARAM.DesiredPropertyName)
You may find that using an activity in conjunction with a decision tree or decision table another alternate solution.