How in the hell do I create a BPM that will convert whatever someone enters as the User ID when creating a new user to be all lowercase?
I’ve tried writing a BPM that checks for added row on the UserFile table and then sets the UserFile.UserID table to the expression BpmFunc.ToLower(UserFile.UserID)
(tables simplified for explanation; what’s available is ds… and tt…).
I’ve done this as a Data Directive on the UserFile table and as Pre-, Base-, and Post-Processing on the UserFile/Update method, but i can’t even get a info message to trigger as the first action, other than on the DD.
None of these updates the field to be lowercase. Also, I noticed in running a BAQ on the UserFile and SysUserFile tables that the record doesn’t get added to the table until after a company has been added and the record saved. However, when I input the UserID and Description, then save, the UserID field goes gray.
Traces seem to indicate that I’m using the correct method, table, and field, so what gives??