I have a requirement where I am using people picker field in a list and have a flow tied that performs bunch of tasks.
People picker returns display name in flow run as 'John, Taylor' (the way user profiles are created there is a comma between first and last name)
So from the example above, I would like to simply extract John. So dynamically would like to extract portion before the comma. Can someone please help me with the solution, thanks in advance.
Solved! Go to Solution.
To get the first name from display name you should use split with index to get the first name.
Hi @dmistry ,
Is the People picker person field?
If yes, you could also use Get user profile action to get Surname and Given Name.
You could configure person email in the User field and get more info about the user.
Please take a try and feel free to let us know if you have any other questions.
@DeepakS Is there a way to just get first letter after the ',', can you please advice with the correct expression for that as well, thanks in advance.
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!