So I am getting errors when trying to get a Flow button to manually trigger things. One is to simply create a task.
If it requires no input then it runs fine. But if you ask for some text such as task name and then use that in the create a task action then it errors. I am asking here as unsure if it is to do with environments or language settings as the error message in full is:
InvalidTemplate. Unable to process template language expressions in action 'Create_a_task' inputs at line '1' and column '1760': 'The template language expression 'triggerBody()['text']' cannot be evaluated because property 'text' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'.
I originally took this from the templates but have since recreated from scratch and it’s still not working.
When you test this flow from the portal, then it works fine.
Any pointers please?
I have made a test on my iphone 6sp have don't have the issue that you mentioned.
The screenshot on my flow as below:
The flow would run successfully as below:
Please check if your Flow app in your phone is the latest version, if no, please update the app to the latest version to see if the issue still exists.
Thanks for this. I have checked that my Flow is updated. Version is 2.29.0
I have also looked at other flows that I have created and there is a pattern in that any Flow that requires some form of input (I have another one that creates an email when you enter a subject) also do not work from the widget screen.
To clarify - when I am in the Flow app and I either select "Flows" or "Buttons" icons from within the app and run them, then they work fine. The problem is only when I am on the home screen within IOS and I swipe right to get to the Widgets screen. It is when I try and run the flow buttons from this screen that they fail.
Can you check if that sequence is also working fine for you?
My experience is the same as @NeilAubin. My flow works perfectly from within the Flow app and from the browser. It's only from the button widget in iOS that it seems to fail.
I have this same issue. I have the button visible in my widgets, but when I press it I just get a check mark rather than a form opening to enter the required inputs. The flow then fails.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
Check out the community blog page where you can find valuable learning material from community and product team members!