Shopify Order Flow "Sync orders created prior to" Timing Issue or Misunderstanding
Hello -
I'm working with a client that wants to delay syncing new shopify orders to allow initial customer edits to be captured. I implemented the "Sync orders created prior to" setting on their scheduled order flow and it's not working as expected or documented.
According to the documentation that setting so put a Created At filter based on the current flow run time minus the delay in minutes.
What I'm seeing is the Created At filter is the previous flow run time minus the delay.
Here's JSON query string from a recently debugged run.
Run time: 13:50:33 PST (UTC-8)
Previous Run time: 13:36:26 PST
Delay Setting: 1 minute
You can see the Created_at_max criteria is the previous run minus one minute. This contracticts the example in the documentation for that setting.
Also, what's with the Updated_at_min? That appears to be from two runs prior the current one.
Can someone explain please??
Thanks,
Comments
Please sign in to leave a comment.