How to pass a single page property as parameter to When rule called in a data transform?

I have a single data page property, and would like to refer one of the property from it.

I would like to refer the property as parameter in a when rule called in a data transform.

After setting PageData as parameter in parameter tab, how can i use it as parameter in when rule in a step of a data transform?

I tried using Param.PageData.CurrencyCode but failed.

(Currency code as the property i would like to refer from a single page which is stored in the page after customer input)

@SandyP16637557 ,

Have you tried by defining the PageData in the Pages & Classes tab with relevant class?Please try once and let us know if it helps.

@SandyP16637557 It should be PageData.CurrencyCode Can you try like this and let us know

@SrinidhiM It doesnt work sorry

@SandyP16637557 Hi, Can you check if you have added the PageData in pages and classes and in parameters tab?

Hi @SandyP16637557,

Please define the below steps,

  1. In the pages and classes tab, define PageData using the appropriate class.

  2. Assume that Param.CurrencyCode is the parameter that you defined in the when rule. then add a property set step mentioned below, before calling the when rule in the data transform.

Param.CurrencyCode == PageData.CurrencyCode

The values for the param page will be automatically passed to the when rule. If it still doesn’t work, make sure the tracer is running while the data transform is being applied and that the value for CurrencyCode is present on the PageData page.

Hi @SandyP16637557,

please check if you have declared PageData parameter as Page Name (data type) in parameter tab.

If yes then, Can you please post error after using PageData.CurrencyCode?

Thanks,

Pooja

@SandyP16637557 Hi, Please check the below link which is a similar query.

Param

Please let us know if this is helpful