web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help with an expressio...
Power Automate
Answered

Help with an expression / variable

(0) ShareShare
ReportReport
Posted on by 5

Hey Guys

I am struggling to get an expression to work when setting the Mailnickname for a user gathered by response details in a form

Essentially I get Firstname and Last Name of the form and then want to have f.lastname set as the nickname 

substring(outputs('Get_response_details')?['body/FirstnameID'], 0, 1) & "." & outputs('Get_response_details')?['body/LastnameID']

And it just won't work.

Any ideas ?

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @automating 

    Can you try to use this code ? In flow , there is no & in the expression.

    concat( substring(outputs('Get_response_details')?['body/FirstnameID'], 0, 1)  , '.', outputs('Get_response_details')?['body/LastnameID'] )

     

    If this can not help you , can you show the error code in your side?

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

  • automating Profile Picture
    5 on at

    Yueyun Zhang you are a legend, thankyou 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard