Salesforce Fact 880 | Impact on query using user fullname due to user locale change

Locale changes affect the name format of the user. For some of the locales, the Lastname appears followed by Firstname when full name is displayed.

So, if we have any logic where we are fetching data based on the Fullname field on User object, we need to be careful. 

For example, if the user's full name is 'Tom Stewart' where Firstname is 'Tom' and Lastname is 'Stewart', in case of Hungarian(Hungary) locale this is interpreted as 'Stewart Tom'.

So, either we should use any other field like username or we should use any other filter to fetch the required data.

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow