There appears to be a bug in the Yammer task which is fired when a new message in a group is posted. The flow is failing with the following message.
InvalidTemplate. Unable to process template language expressions for trigger 'When_there_is_a_new_message_in_a_group' at line '1' and column '5755': 'The execution of template trigger 'When_there_is_a_new_message_in_a_group' failed: the result of the evaluation of 'splitOn' expression '@triggerBody()?.messages' is of type 'Null'. The result must be a valid array.'.
Can anyone else confirm this is an issue?
Solved! Go to Solution.
I’m trying to reproduce this issue on my side.
The simple flow is triggered by “Yammer – When there is a message in a group”. However, when I post a message in the group, the flow doesn’t trigger.
I will keep an eye on the flow. Not sure if there is some delay on the message sync.
It appears to trigger, but it isn't showing up under "Run History". The way I am able to tell that it has failed is it is showing up under "Recent Activity".
Clicking on it from there you can see what the real problem appears to be.
One thing I have tried is to set "splitOn" to off. This causes the trigger to work, but it is causing the rest of the flow to fail because the "triggerBody" object doesn't appear to be getting set.
Still waiting on a solution to this problem. Is anyone else having this issue? This is very frustraiting. This has been working fine, at least this part of it, and it has now been down for 5 days.
Yes I have the same issue currently.
The trigger error says:
InvalidTemplate. Unable to process template language expressions for trigger 'When_there_is_a_new_message_in_my_followed_feed' at line '1' and column '4328': 'The execution of template trigger 'When_there_is_a_new_message_in_my_followed_feed' failed: the result of the evaluation of 'splitOn' expression '@triggerBody()?['messages']' is of type 'Null'. The result must be a valid array.'.
It doesn't seem to make a difference when changing the split on button on/off. I have tried reconnecting to email and yammer. I have also tried both yammer triggers (following feed + specific group). I'm pretty sure the trigger is the problem as I tried removing the condition too.
We now have confirmation from mulitple people this is a bug and the trigger is failing. I tried again today to create a completly new flow and the task failed again with the same "InvalidTemplate" message. My company uses this to link Yammer and Visual Studio for task creation, so I need to get this back to operational.
Yes, we have identified the bug and we are in the process of deploying it. ETA: by 2pm PST to all regions. I will send a message again once this is deployed to all regions.
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.