How to call a function from data transform which returns void.

How to call a function from data transform which returns void.

Lets say if i use function like below in data transform by using set method,

Target Property=Param.Remove

Source Property=@(Pega-RULES:Page).pxRemoveProperty(Param.PropertyName)

Param.Remove = @(Pega-RULES:Page).pxRemoveProperty(Param.PropertyName) from data transform.

But it will not allow, as it returns void.

Kindly let us know how to call a void function from data transform.

Thanks in advance

Hi@hussinbashak

Can you please elaborate the issue, since I was able to set Param.Remove using the same function and the data transform got saved.PFA the below snippet of the data transform.

Alternatively if the above function is not working in your context you can always use the Remove action of data transform to remove the properties and if the properties does not belong to primary page you can use update page action and then use Remove action to remove the properties.