Discussion
How to call data page from when rule ?
I have a data table that represents a list of Users.
I have a data page D_Users that provides access to the data table.
D_Users takes few parameters like First Name, Last Name, Birthday and it should return the User from the data table with this characteristics.
I tested some hardcoded values in a test section, to see if the data page works correctly and it does.
How to call D_Users from a When Rule? I need to check if a user exists in the data table, in a When Rule. How can this be done?
Thanks.
Hi,
You can set the Data page (lookup) in the Pages & classes
D_MyDataLookup = MuOrg-MyApp-Data-MyClass
Then in the condition use:
The only way I found to make the 3rd option work was to set param.ID in a data transform before executing the when rule.
Not sure if it is the best way.
Damien