cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GeguzisP
New Member

Few values from checbox in same email

Hi,  

I have situation, when value is checkbox and more than 1 value is checked. In such case I receive more than one email. 

 

I tried this solution: https://powerusers.microsoft.com/t5/General-Power-Automate/Microsoft-flows-with-check-boxes-in-email...

But I'm getting error : The inputs of workflow run action 'Compose' of type 'Compose' are not valid. The variable 'CombineValue' must be initialized before it can be used inside action 'Compose'

 

Printscreen of my flow:

Flow.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @GeguzisP 

 

Please ignore my earlier messages.

 

Your variable name is called 'Combine value' but in your concat it referenced as one word.

 

Try 

 

concat(item()?['Value'],';',variables('Combine value'))

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

8 REPLIES 8
abm
Super User
Super User

Hi @GeguzisP 

 

Could you please post your compose expression?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

concat(item()?['Value'],';',variables('CombineValue'))

Hi @GeguzisP 

 

The issue you having here is you can't concat a variable with blank value? You need to intialise your variable with a single space or something. If not you can check whether the intialise value is null then do not do the concat and assign the value to the variable.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

I Have entered null. But same error.

flow2.png

Hi @GeguzisP 

 

You can't initialise with null. As I mentioned earlier you can add a singe space or check the variable is null or not.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

I put single space, I put just number. Same error. Any other ideas? or I'm doing something wrong?

Hi @GeguzisP 

 

Please ignore my earlier messages.

 

Your variable name is called 'Combine value' but in your concat it referenced as one word.

 

Try 

 

concat(item()?['Value'],';',variables('Combine value'))

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

abm
Super User
Super User

Hi @GeguzisP 

 

Glad that it worked for you and thanks for accepting the solution. Wonder why it didn't errored as variable undefined? 😀

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

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,929)