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