Hello Microsoft Flow Community 👋,
I've been building a new flow. It's a simple reminder from my SharePoint Calendar. Which is, it is really helpful to remind me every events.
And right now I got an issue with my flow. Here is the screenshot:
Error details:
Unable to process template language expressions in action 'Set_CalendarEvents_Value' inputs at line '1' and column '17782': 'The template language function 'item' must not have any parameters.'.
Has anyone had a similar problem? or have any solutions to this? I don't know where to begin to fix this, because this MS Flow is a new thing for me.
Here is my current flow, in case you need to see in details:
Inside "Apply to Each":
Inside "Check if any event found":
Thanks for your help in advance😀
Regards,
Erik.
Solved! Go to Solution.
Hi @Anonymous,
Could you please show me the expression details of the formatDateTime?
The error says 'item' must not have any parameters.', so I guess you must enter an expression item('Apply_to_each')?['Date'] into it.
If so, please not do that, and use the items('Apply_to_each')?['Date'] or item()?['Date'], and try it again.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous,
Could you please show me the expression details of the formatDateTime?
The error says 'item' must not have any parameters.', so I guess you must enter an expression item('Apply_to_each')?['Date'] into it.
If so, please not do that, and use the items('Apply_to_each')?['Date'] or item()?['Date'], and try it again.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @v-litu-msft
Thank you for replying my post 😀
I've changed the expression for date column.
And when I test it out, suddenly I got another Error:
Error Details:
Unable to process template language expressions in action 'Set_CalendarEvents_Value' inputs at line '1' and column '17782': 'The template language expression 'body('Html_to_text')?['body']' cannot be evaluated because property 'body' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
Is there any solution for this? (Sorry for to much asking 😞)
Thank you very much 😀
Regards,
Erik
Hi @Anonymous,
The error is caused by the Description field, please use the expression instead:
outputs('Html_to_text')?['body']
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-litu-msft
Thank you for your help sir. Right now my flow working properly.
Thanks & have a nice day! 😀
Regards,
Erik
I've discovered I periodically get errors by dropping in the built-in output from an "Html to text" action in Power Automate. It can work many times, and then fail for no obvious reason with the error referenced in this post. At this time, the "Html to text" action is marked as "Preview," so I guess that would be the explanation - but it definitely feels like a beta component. So far, in my tests, your proposal to create a function for outputs() does work. Hopefully it will prove more robust than the built-in result. Thank you for this suggestion.
As an aside, I see that the output from "Html to text" can include unneeded carriage returns, so I also enclose it within a trim() function for good measure.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
26 | |
25 | |
23 | |
22 | |
18 |
User | Count |
---|---|
59 | |
41 | |
36 | |
30 | |
30 |