cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JohnStraumannPA
Helper I
Helper I

Join?

Hello all:

 

I am trying to use the JOIN function to create a string from 2 variables and a string, and tried these lines:

 

% %SearchURL% + %CurrentItem% + "%20test&origin=GLOBAL_SEARCHH_HEADER&sid=Myr"%

 and

 

%SearchURL% + %CurrentItem% + "%20RPA&origin=GLOBAL_SEARCHH_HEADER&sid=Myr"

 

but I am getting a syntax error. Can anyone offer any tips? Thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions
CFernandes
Super User
Super User

Hey Mate @JohnStraumannPA 

 

You mentioned you want to join two strings - IF yes, use the concat() funtion.

 

concat(outputs('Compose_2'),outputs('Compose_3'))
 
CFernandes_0-1634301155205.png

 

 

Join is used for Joining values in an array with a value - for details see -https://d365demystified.com/2021/09/09/join-action-in-data-operations-in-power-automate/ 

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!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 

 

View solution in original post

Hey @JohnStraumannPA 

 

You can use + operator to concat -

 

Have a look at -  https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation#basic-arithmetic

 

CFernandes_0-1634307253939.png

 

 

Note in set variable % symbols are the start and end- %VarDollar + VarThis% 

 

Option 2 - concatenate them with a space by typing %NewVar% %NewVar2%

 

CFernandes_1-1634307253945.png

 

 

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

3 REPLIES 3
CFernandes
Super User
Super User

Hey Mate @JohnStraumannPA 

 

You mentioned you want to join two strings - IF yes, use the concat() funtion.

 

concat(outputs('Compose_2'),outputs('Compose_3'))
 
CFernandes_0-1634301155205.png

 

 

Join is used for Joining values in an array with a value - for details see -https://d365demystified.com/2021/09/09/join-action-in-data-operations-in-power-automate/ 

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!

 

P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

 

 

Thanks for your response. I am using the Desktop app and do not see the concat function?

Hey @JohnStraumannPA 

 

You can use + operator to concat -

 

Have a look at -  https://docs.microsoft.com/en-us/power-automate/desktop-flows/variable-manipulation#basic-arithmetic

 

CFernandes_0-1634307253939.png

 

 

Note in set variable % symbols are the start and end- %VarDollar + VarThis% 

 

Option 2 - concatenate them with a space by typing %NewVar% %NewVar2%

 

CFernandes_1-1634307253945.png

 

 

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!

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,392)