cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

"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
Memorable Member
Memorable Member

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
Community Support

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

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (16,082)