cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Reddy
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
vecerpa
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.

v-yuazh-msft
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



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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (95,526)