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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,820)