You can get the value of field value in a data transform using a function. We have OOTB function getLocalizedText which helps us in retrieving the content of a field value. Function has three parameters
text - Field Value Rule Name
property - Field Name
tools - Public API
Please refer "pzMyFavoritesPreLoad" OOTB data transform for syntax.
I've created a property pxDropdown(TypeOfOffer) and the field values "Bundle" and "Others" .
I've tried to use the function @getLocalizedText(“<Text to Localize>”, ”<FieldValue Property>” , tools), but I don't know what is suposed to put in <Text to Localize> when I have many values in a dropdown list.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of this screen and also on our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.