Question
ING Belgium SA NV
BE
Last activity: 18 Sep 2023 6:13 EDT
Add declare index condition on a property in the same occurence
I have a declare index on a property in a pagelist in my main page. Let's say. CustomerID in CustomerList. I only want to store this index in case the CustomerType = "Some Type".
When creating a When Rule on "CustomerList" class, the declare index rule won't take it as it is not of the main page class.
How can you make sure only the ones I want to save are taken into account?
Example: CustomerList(1)
.CustomerID : 1
.CustomerType : "Some Type" ==> should be stored
CustomerList(2)
.CustomerID: 2
.CustomerType : "Another Type" ==> should not be stored in the declare index table.