Persona ( with dynamic properties)

Pega 24.1 NBA Designer < PersonaManagement< Persona

I’ve created a persona that I will use in a persona test and for the Customer.BirthMonth attribute I need to use a function that will retrieve the month rather than set it to “May”. The reason why I need it is because my eligibility condition is based on the current month and birthday month and for example birthday month is May the persona test will fail when I run them in June since they eligibility condition is checking birthday month is equal with current month.

Any thought how can we edit the auto-generated data transform behind the persona in order to have a dynamic attribute.

@SilviuStefan what is the data type of this Birth month property you are trying to set? I would expect this to be a date and the month would be extracted in the eligibility condition

@SethRobinson Thanks your reply. Customer.Children.BirthMonth is a text property( “01” ,“02”, “03” etc) and in the strategy used in the eligibility I am using a function to compare CurrentMonth is the same as the BirthMonth.

The issue is in the persona data transform in NBA Designer I need to set up the BirthMonth as a dynamic property since for my persona test I have to have the birthmonth set as the current calendar month…for example when I run the test in July I want the birthmonth to be July in order for my test to pass.

Hi @SilviuStefan, this is not currently supported by the new Persona capability. If this is needed, I suggest defining a separate, traditional Data transform rule which sets this property dynamically and associate this to the Persona using the References capability which lets you reference other transforms as part of persona execution

@SethRobinson sorry for the late reply…we used the custom data transforms and referenced it in the persona in NBA Designer and we could set the properties dynamically.

Thanks for the help. Much appreciated.

Silviu