I have this flow:
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.
Solved! Go to Solution.
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!
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!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.
User | Count |
---|---|
88 | |
58 | |
42 | |
37 | |
36 |
User | Count |
---|---|
84 | |
72 | |
61 | |
56 | |
40 |