Re: Flow takes a lot of time to process a simple condition
Maybe that explains. I found another example where there is some processing after the evaluation of a condition:

The evaluated condition looks like this:
@Or(and(and(equals(body('Parent_WorkItem_Details')?['fields']?['System.WorkItemType'], 'Projet'),
not(contains(body('Parent_WorkItem_Details')?['fields'],'AgileDev.AcombaProjectID'))),
not(or(equals(body('Parent_WorkItem_Details')?['fields']?['System.State'], 'Closed'),
equals(body('Parent_WorkItem_Details')?['fields']?['System.State'], 'Removed')))),
and(equals(body('Parent_WorkItem_Details')?['fields']?['System.WorkItemType'], 'Client'),
not(equals(body('Parent_WorkItem_Details')?['id'], '217'))))
So it's similar and I don't quite understand why it takes so long to complete. After watching the video of John Liu I think I might be able to convert some variables to use compose instead but not all of them, not simply I mean. Complete rework of my logic and loops would need to be done for that...