web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with Switch acti...
Power Automate
Unanswered

Issue with Switch action: The power flow's logic app flow template was invalid.

(0) ShareShare
ReportReport
Posted on by 53

When I add a Switch action to the flow, save it and re-open it, I get below error:

The power flow's logic app flow template was invalid. The 'type' property of template trigger 'manual' at line '1' and column '3441' has the value 'Manual' which is deprecated in schema version '2016-04-01-preview' and onwards.

 

If I remove the switch action, then the above error disappears.

 

Please help me to remove the error.

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    It sounds like you might be trying to create a flow based on a template that was deprecated some time ago.

     

    Can I ask how you started building this flow, and what's in it? A screenshot would help, as well - and if you're starting from a template, please post a link.

  • Dharam2 Profile Picture
    53 on at

    I did not used any template, I created it from scratch. 

    When I remove Switch action from the flow, save, close the flow and when re-open the flow it does not give an error, even I tried to add the Switch action back but the error starts appearing again.

  • AWorley Profile Picture
    414 Super User 2024 Season 1 on at

    Can you show what the argument you are using in the switch statement? The error states that whatever you are doing is depreciated since 2016.

  • Dharam2 Profile Picture
    53 on at

    Switch statement argument is triggerBody()['text']

     

    Please let me know if you need any more details.

  • AWorley Profile Picture
    414 Super User 2024 Season 1 on at

    Maybe you can run the switch statement off of the "get item" value instead of the for a selected item value? Given that you are doing everything from a list item get item would house the updated version of that item. 

  • Dharam2 Profile Picture
    53 on at

    I have used (For a selected item) input parameter 'Reset' while triggering the flow (triggerBody()['text']) as an argument to Switch statement. 

    I don't understand what you are trying to say or what I am doing wrong?

  • AWorley Profile Picture
    414 Super User 2024 Season 1 on at

    I recreated your shown flow. The issue is not with the switch statement and was able to successfully switch off of the input value of the trigger.

    There is another portion of your flow that is marked as depreciated. I would look at every action block and see where there maybe an issue.

  • Dharam2 Profile Picture
    53 on at

    Hi @AWorley ,

     

    Did you got a change to check the issue? I am again facing this issue in a newly created flow.

    Please help me resolve this issue.

     

    Thanks

  • Verified answer
    AWorley Profile Picture
    414 Super User 2024 Season 1 on at

    You may want to open a ticket with microsoft. I havent seen that issue so there may be an underlying issue with your environment or flows. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard