cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
trishmalloy
Post Partisan
Post Partisan

Compose error message

Hello @AlanPs1 @efialttes 

 

I am using these instructions to create a flow. All is good until I get to the Compose section. I saw a post from someone else that had the same issue. I'm not using a capital E in the syntax. Can you help me out?

 

https://www.alanps1.io/power-platform/flow/flow-create-planner-task-and-include-attachments-from-out...

 

Syntaxissue.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Paulie78
Super User
Super User

try this:

concat(variables('TimeStamp'),'-',outputs('Get_email_(V2)')?['body/subject'])

I am only suggesting it based on the default name of the get  email action, it has the V2 wrapped in brackets and you don't have that.

 

But really we could nail this problem a lot quicker if you also included:

  • The actual error that you are getting.
  • A screenshot of your get email action.

 

View solution in original post

The error is not in your compose step. What the error message above is telling you is that you have a "condition" action, which is referring to a step called "Get_email", which does not exist. Perhaps you renamed your "Get_email" step to "Get email (V2)" and now one of your subsequent steps is invalid on account of that.

View solution in original post

8 REPLIES 8
haroldbk_msft
Community Support
Community Support

I'm not sure of the error but if you are using Get email (v2) then the expression would be 

concat(variables('Time Stamp'),'-',outputs('Get_email_(V2)')?['body/subject'])

Thank you for responding @haroldbk_msft !

Good call. I changed the syntax because I am using V2, but the error still comes up. @AlanPs1 

New Compose Syntax.PNG

Paulie78
Super User
Super User

Seems like you have a single quote and round bracket in the wrong place to me also, try:

 

concat(variables('TimeStamp'),'-',outputs('Get_Email_V2')?['body/Subject'])

 

 

If I answered your question Accept it as a solution ✔️ 

If I helped you out, please give me some Kudos 👍

Thanks 😙

Thank you for responding!! I changed the sytnax, still same error.

 

syntax.png

Paulie78
Super User
Super User

try this:

concat(variables('TimeStamp'),'-',outputs('Get_email_(V2)')?['body/subject'])

I am only suggesting it based on the default name of the get  email action, it has the V2 wrapped in brackets and you don't have that.

 

But really we could nail this problem a lot quicker if you also included:

  • The actual error that you are getting.
  • A screenshot of your get email action.

 

I am grateful for your help @Paulie78 . When I pasted your code in the fx field the red dot over Flow checker went away. I clicked the save button and the message below came up. Please let me know if there's any other information you need. 

 

Error and GetEmail.PNG

 

1.png

The error is not in your compose step. What the error message above is telling you is that you have a "condition" action, which is referring to a step called "Get_email", which does not exist. Perhaps you renamed your "Get_email" step to "Get email (V2)" and now one of your subsequent steps is invalid on account of that.

trishmalloy
Post Partisan
Post Partisan

Thank you @Paulie78 !!

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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!

Top Solution Authors
Top Kudoed Authors
Users online (2,039)