cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Reddy
Level: Power Up

"Condition is too complex or invalid" while trying Create tasks in planner for new Outlook Tasks

When rying to create a new flow based on "Create tasks in planner for new Outlook Tasks" template, I get the message "Condition is too complex or invalid. Unable to switch to basic mode".condition.PNG

 

 

I have not modified the condition. What can be the cause? 

4 REPLIES 4
Super User
Super User

Re: "Condition is too complex or invalid" while trying Create tasks in planner for new Out

Hi @Reddy,

 

As I see, you are most probably trying to reach somethin like:

NotEmpty DueDateTime and DateTime

 

So the expression in your condition should be slightly different

 

@not(and(empty(triggerBody()?['DueDateTime']),empty(triggerBody()?['DateTime'])))

It depends from where you get DateTime if it is also delivered into Flow by trigger.

P.

Community Support Team
Community Support Team

Re: "Condition is too complex or invalid" while trying Create tasks in planner for new Out

Hi @Reddy,

 

Sometimes when the expression in the Condition is too complex, we could switch the Condition to basic mode, you could just leave the Condition in the advanced mode and run the flow.

 

I have made a test on my side and create the flow as screenshot below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

Best regards,

Alice

Administrator
Administrator

Re: "Condition is too complex or invalid" while trying Create tasks in planner for new Out

Hello,  @Reddy!

Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Flow Community Manager
Reddy
Level: Power Up

Re: "Condition is too complex or invalid" while trying Create tasks in planner for new Out

Hi,

 

Sorry I didn't reply earlier, I was busy on another project. I tried your suggestion but the flow still fails.

 

flow compose.PNGflow_run.PNG

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 220 members 4,879 guests
Please welcome our newest community members: