cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guna_win13
Resolver I
Resolver I

How to Bring Underscore in Flow Approvals Connector

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

 

 



1 ACCEPTED SOLUTION

Accepted Solutions

@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

 

View solution in original post

9 REPLIES 9
johnokeeffe
Frequent Visitor

Hi @guna_win13,

 

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

 

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

guna_win13
Resolver I
Resolver I

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

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

 

guna_win13_0-1654873155329.png

 

johnokeeffe
Frequent Visitor

@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.

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

Shujaath_Khan
Super User
Super User

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
Resolver I
Resolver I

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
Resolver I
Resolver I

@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
Super User
Super User

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.

@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

 

Helpful resources

Announcements
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,423)