In my application I need to get the contents of datafields and use it in a Xpath constraint or a microflow. In this way I can make the application more flexible. E.g. the first databasefield containts '$Person/Name' and the second one contains 'Jansen', then I would like to have a selector in a microflow test <$Person/Name = 'Jansen'>. E.g. the databasefield contains [Date = [%CurrentDateTime%]] then I would like the retrieve activity to select all records using this Xpath constraint. Is this possible in native Mendix (without having to do Java-things)?
Take a look at the constrained by option when using a reference selector. I think you can achieve what you want with that option.
Basically to create a flexible app, I need to store a Xpath constraint in a table, get it from the table (Retrieve) and use it in a Microflow. Is that possible?