I have a form with a Person field for Employee that defaults to {Common: CurrentUserEmail}.
I have a single line text box for EmployeeID with a rule:
When - !isNullOrEmpty(Employee)
Then - userProfileLookup(Employee, "EmployeeID")
When the form opens, the Employee field shows the logged in user correctly, but EmployeeID is blank.
But, if I remove Employee and re-enter it, the EmployeeId properly populates.
How can I get this to trigger when the form initially loads, without having to manually enter the employee?