cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
almendoza26
Level: Powered On

Deleting part of the email addres

I have this flow:flow.png

 

1. The trigger is item created in SharePoint List. The field is person.

2. Get user profile to get the UPN of the person. 

3. At compose, I use the UPN on Get user profile e.g. user@domain.com

4. I use the expression indexOf(outputs('Compose'),'@')

5. I want to update a field in the SharePoint List, but it should remove @domain.com leaving on user on the field.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Deleting part of the email addres

HI @almendoza26 

 

You can try splitting the string recieved from the Get profile action by using the split('output of the get profile action', '@')

and then from this output get the first element by first(split action). This will fetch you the user name (firstname.fullname)

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Super User
Super User

Re: Deleting part of the email addres

HI @almendoza26 

 

You can try splitting the string recieved from the Get profile action by using the split('output of the get profile action', '@')

and then from this output get the first element by first(split action). This will fetch you the user name (firstname.fullname)

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 180 members 4,742 guests
Please welcome our newest community members: