Perform Find not working using AccountName as Find criteria
I have a table call Employee. There is a field in that table called UserName. Before I add a new user in the security settings, I create a record in Employee, and enter the exact same name into the UserName field as I do for the AccountName in security settings.
When in a layout whose table is Employee, and when my script executes the Perform Find step, no records are found.
The criteria for the find step are:
Action: Find Records
Because it is the case that at least one record in Employee contains the current logged in AccountName in it's UserName field, I expect that record to be found. What actually happens is no records are found.
Is there anything I am missing? Am I somehow limited in which fields I can Perform Find on?
Any help is appreciated.