Question

i want to remove a one result from pagelist based on the when condition

i have requirement to remove result from pagelist based on the when condition in the Data transform

1) pagelist is ExceptionList

*ExceptionList(1)

i)Exception ID

ii) Exception Name

iii)FacilitySubType

*ExceptionList(2)

*ExceptionList(3)

If each page consist of FacilitySubType="Express" should remove the particular Result(FacilitySubType=="Express" Contain page). how should i implement this scenario

Comments

Keep up to date on this post and subscribe to comments

Pega
November 27, 2019 - 10:27pm

Hi,

You can try using Obj-Filter method to filter the results based on the condition. Also, you can try calling an inner loop and pass the index of the current loop page to a property as parameter. This will delete the page from the pagelist. It can also be done on a condition.

Thanks,

November 28, 2019 - 8:28am
Response to mutha1

Can you please give the Example OF the Scenario ,

November 29, 2019 - 2:42am
Response to AnuradhaW

Hi,

I tried your scenario. Please find the attached document AnuradhaW.

Thanks,
Bharathan.

Pega
November 30, 2019 - 5:18am

Hi,

You can use "for each page in" method in Datatransform and give ExceptionList.pxResults in the target and use a when condition to check if FacilitySubType="Express" and then use Remove method to remove the page if the condition is satisfied