Flow Workflows stuck on "In-progress", failing halfway through, asking for compareDigest?

Flow Workflows stuck on "In-progress", failing halfway through, asking for compareDigest?

PCuser
Tourist
3 0 3

Made a workflow that adds one or two free items to the order depending on what discount code is used. It worked fine for the past day or two, but this afternoon it stopped working correctly and seems is failing to consistently add line items to order.

 

Getting this error report:

Ran into transient error: GraphQL Response User Errors: "The resource has been updated since it was loaded. Try again with an updated `compareDigest` value."

Screenshot 2024-09-26 at 12.09.20 AM.png

 

Sometimes it will add item A and fail to add item B, but I also see some orders are getting item B added, and item A is being left out.

 

Screenshot 2024-09-26 at 12.09.36 AM.png

Since the update said to check step configuration, I even rebuilt the workflow from scratch and the new workflow is still running into errors. I don't know what the compareDigest is, and it's not clear what "the resource" is. 

 

Trying to manually re-run shows a blank error field and then "Some data may have changed since the original run was completed. Learn more about retrying workflow runs." underneath it. Unsure of what data could have actually changed since I haven't done anything on my end to change anything.

 

 

Replies 14 (14)

Tockre
Tourist
5 0 3

Unfortunately I don't have a solution here but am running into the same issue - did you manage to find out what was causing this?

PCuser
Tourist
3 0 3

No, not yet, and seeing here that there are two others with the same problem, I'm assuming it's some update on the backend of shopify or flow that is causing this error. 

chrisLRC
Tourist
4 0 2

I'm having the exact same problem out of nowhere today. I've been running this same flow for several months and have never had an issue. 

 

Today, it now fails to add one of the order line items but successfully adds the other. The product listings and flow have not been touched at all for months. 

 

This seems to be a Shopify bug of some sort? 

 

Screenshot 2024-09-26 at 7.19.27 AM.png

Screenshot 2024-09-26 at 7.22.02 AM.png

paul_n
Shopify Staff
1336 151 306

Hi all - nothing changed on the Flow side but we are looking into this to see if we can find a solution.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
PCuser
Tourist
3 0 3

Not sure what changed, but everything is back to normal now!

chrisLRC
Tourist
4 0 2

Agreed, my flows started magically working again overnight so clearly something going on with Shopify. But I'll take the quick fix!

paul_n
Shopify Staff
1336 151 306

Yes, we found the issue and got a fix in.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
chrisLRC
Tourist
4 0 2

The issue is back out of nowhere again today! All of my flows adding order line items failed again with the same error messages. Haven't touched the flow or product listings. 

 

Screenshot 2024-10-01 at 6.25.23 AM.png

paul_n
Shopify Staff
1336 151 306

Do you have more than 1 workflow that is adding order items ?

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
paul_n
Shopify Staff
1336 151 306

You should avoid having more than 1 workflow trying to edit an order at the same time. I believe you have multiple, which could be combined into a single workflow. 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
chrisLRC
Tourist
4 0 2
That still doesn't explain why it has worked flawlessly for 6 months and
all of a sudden has issues. Setup hasn't changed.
paul_n
Shopify Staff
1336 151 306

Please send me a DM with the workflow run link. We don't see that error any more in your store.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Tockre
Tourist
5 0 3

Hello,

Running into the same issue again now after the issue resolved initially... 

The error I am getting is:
Could not save the order edit.

paul_n
Shopify Staff
1336 151 306

Contact Shopify support if you are still seeing an issue so we can get more details

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.