I have a workflow API that I call using “Schedule API Workflow on a list”. Essentially, the workflow api adds a product and a quantity to the Order Details thing then, recursively schedules itself to execute again on a list, this time for all the sub-products.
This traverses the grandparent-parent-child-grandchild relationship of the product catalog structure. It occasionally works well but it is unpredictable. Not all sub-products get added all the time. There seems to be no pattern as to which products are missing. Its never the first or second level but it may be 3rd, 4th or 5th level.
I can watch the RG as the items are added and some items appear then are replaced by a different item. The workflow never deletes.
What could be happening in my Workflow that would cause the unpredictability? No errors are getting thrown.
Does anyone have a source for bubble thing schema docs? How do you make updates inside the server script?
Thanks in advance