I work with a lot of fulfillment flows lately, and they tend to be a lot of trouble when you’re mixing a third party fulfillment provider and some of the Shopify flow action blocks.
I have a Flow for when an order is “ready to be fulfilled”
We have several unfortunate duplicated trees, but there is one particular branch that will result in an action to “Move Fulfillment Location”, wait a moment, and then “Submit Fulfillment Request”.
On some recent runs, we have noticed that the “Move Fulfillment Location” had resulted in a fulfillment order being split. The subsequent “Submit Fulfillment Request” then submitted a fulfillment request for the sliver of a fulfillment order that was left behind post-split. The newly created split off fulfillment, the orphan, has been left in a limbo state! The fulfillment order exists, the location has inventory, and yet the creation of this fulfillment order did not seem to trigger a new instance of “Ready order to fulfill”, nor did the original “submit fulfillment request” try to submit fulfillment on the orphan (which I can understand, as it is not the original triggering fulfillment order anymore).
This has left many orders in a weird fulfillment state that we haven’t been able to easily automate. There seems to be no way to send a newly created fulfillment order through our Flow which evaluates a lot of business logic. The only solution is to somehow track down these orders before the auth expires, and then fulfill the order manually with the button choices.
Tracking down fulfillment flows has been the worst, and recently the only bandage I have been able to apply is to tag orders with the numerical fulfillment order id so I can search those in Flow runs.
It would be great if Flow could provide more detailed logs on the mutations the action blocks execute. As far as I can see a given order, now with 2 fulfillment orders, only has a single order ready to fulfill flow where the flow successfully moved fulfillment and submitted a request. Given the results, I would expect two fulfillment flows, 1 move fulfillment, 2 requests submitted.
Is this something that can be alleviated with additional fulfillment settings modifications or what? Do I send Workflow logs to Flow team members?
This is the worst time for fulfillment issues.