Microflow to check if current user name matches a value
0
Trying to check if System.User.Name matches a value in the database from a microflow. Sending CurrentUser.Name to log outputs 'bSmith' and I know there is a row with Name = 'bSmith' in the TenantUser table of the database. 2 questions: #1 What am I missing? #2 Why can't the Xpath simply be:
asked
GK
1 answers
4
Hi George,
The XPath syntax is wrong, it must be
[Name = $currentUser/Name]
You can go through Mendix documentation on XPath to find more details.