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

https://xxxxx.myshopify.com/admin/api/2022-04/orders.json?updated_at_min=2023-02-16T21:20:55.000Z&created_at_max=2023-02-16T21:34:15.000Z&updated_at_max=2023-02-16T21:35:15+00:00&status=any",

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,

 

1

Comments

0 comments

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post