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 / How to Bring Underscor...
Power Automate
Answered

How to Bring Underscore in Flow Approvals Connector

(0) ShareShare
ReportReport
Posted on by 236

My goal is to get this Underscope. Sadly, this trick does not support me,...🙄


How do I bring this Underscore Format MEP's Name into Approval Connector?  


My MEP Name format -
PCBA_Chennai_232
MECH_Zhuzhi_832
PCBA_Guad_988

guna_win13_0-1654700340323.png

guna_win13_1-1654700526106.png

 

 



Categories:
  • johnokeeffe Profile Picture
    46 on at

    Hi @guna_win13,

     

    Try string concatenation: concat('_', variables('myVar'),'_')

     

    Expression Reference: Reference guide for expression functions - Azure Logic Apps | Microsoft Docs

  • guna_win13 Profile Picture
    236 on at

    @johnokeeffe  what is my issue here..🙄
    i wrote this. 

    concat('_',variables('MEP_Name'),'_')

     

    guna_win13_0-1654873155329.png

     

  • johnokeeffe Profile Picture
    46 on at

    @guna_win13 you can't self reference the variable. Which means you can't set the variable while also referencing the variable with the same name.

     

    Move the code from the variable to the start approval action title instead and it should work or just initialize a new variable with a different name.

  • Verified answer
    guna_win13 Profile Picture
    236 on at

    Could you please share screen shot with this method. So next it would be helpful to see this...

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    hi @guna_win13 

     

    Instead try to concat in compose action so you can avoid self reference issue.

    shujaathkhan_0-1654879216973.png

    Thanks

     

    If this post helps, please consider Accepting it as the solution. Thumbs up if it helped you other way.

  • guna_win13 Profile Picture
    236 on at

    Something, we Mis-Communication. my MEP Name columns. For Testing my created Initital Variable and Compose.
    In Initial variable i bring in my Original MEP Column Names and in Compose i wrote this expression.
    But am not getting this result. proper way.

     

    guna_win13_0-1654944397263.png

    guna_win13_1-1654944539610.png

     

  • guna_win13 Profile Picture
    236 on at

    @Shujaath_Khan  @johnokeeffe  - Plesae If any idea, where i made mistake. this is my MEP code Format
    PCBA_Chennai_232
    MECH_Zhuzhi_832
    PCBA_Guad_988

    how can i bring this same format in Power Automate Approval Connector, i am getting above result, while used Initial Variable and Compose...

  • Shujaath_Khan Profile Picture
    1,111 Super User 2024 Season 1 on at

    Hi @guna_win13 

    If I understood you rightly you're trying to set _ (underscore) in the details section of Approvals

    details section accepts markdown language to escape and use underscore can you try like this?

     

     

    concat('\_',variables('MEP_Name'),'\_')

     

    shujaathkhan_0-1655106026658.png

    P.S. This valid only for markdown but for other cases backslash is not needed.

    for ex: to write PCBA_Chennai_232 we need to compose as PCBA\_Chennai\_232 in markdown

    Thanks

    If this post helps, please consider Accepting it as the solution. Thumbs up if it helped you other way.

  • Verified answer
    guna_win13 Profile Picture
    236 on at

    @Shujaath_Khan  - I thought is this didn't achieve it in the Power Automate Flow,.. like I have more than 200+ Mep Code in my Share point List, automatically, I will get this code, instead manually entered PCBA\_Chennai\_232 like that

     

    for ex: to write PCBA_Chennai_232 we need to compose as PCBA\_Chennai\_232 in markdown


    concat('\_',variables('Code'),'\_')

     

    guna_win13_1-1655107732250.png

    guna_win13_2-1655107770806.png

     

    guna_win13_0-1655107705242.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard