I’m working on the first challenge from https://academy.mendix.com/link/modules/221/lectures/1735/4.7-Additional-Challenges. Make a dashboard of requests with no approver assigned. Write a microflow that allows managers to claim these requests for themselves. I tried the following, just as what the course instructed earlier: "Using the XPath data source, constrain the data using the following XPath [not(VacationManagement.VacationRequest_Approver/Administration.Account)] This XPath will return a list of all the VacationRequest objects that have no value set for the association VacationRequest_Approver. These requests are all the ones that have no Manager assigned as an approver.” But the data doesn't show up if I log in as manager. Did I miss something here? Also I was wondering why would they use not() instead of empty here? Thank you.
Couple of questions:
Do you actually have VacationRequest objects in your database that do classify as not having any approver yet?
Is the security set on, and if yes, have you configured the correct access rights for the manager role?
As to answer you question as to why not() is used instead of empty: It's not valid!