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.

 

 

View solution in original post

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!

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,236)