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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,253)