AnsweredAssumed Answered

For Each with query XML taking aaaaages to run

Question asked by scotthodgson on Mar 9, 2018
Latest reply on Apr 3, 2018 by tomcastiglia

Hey everyone,

 

I've got a workflow For Each action that contains 6 query xml actions, and a 'build string' at the end to compile those XML queries into a string. When it's looping 2-4 times it's taking well over 30 minutes to run when it loops only 4 times (sometimes nearly an hour).

 

This seems excessively long to me, but I'm mainly used to working in on-prem Nintex WF. Is Safe Looping turned on in 365 workflows by default? Is that likely what is causing this horrendous lag?

 

Does anyone have any ideas on potential avenues for speeding this up?

 

Thanks!

Scott

Outcomes