My scenario is that I need to run a couple of step workflows in parallel (to ensure performance) and some sequentially (because there is a content dependency). I also need to keep track of the status of the overall workflow (pending, running, finished). No matter what I do I seem to run into bubble.io limitations.
I have created a workflow control (WFC) ‘thing’ to keep track of the progress of the (sub) workflows. The WFC thing contains a field which holds info on the workflows that have finished. However, this is were I run into problems. If I try to add the workflow to this fields at the end of each (sub) workflow I run into racing conditions, so I cannot count on this field to be updated properly. So I decided to add the unique id of the main workflow to the sub workflow and try to update the workflows finished field based on a ‘Do a search for’ when a sub workflow has finished. Than the problem I run into is that ‘Do a search’ doesn’t return all items that have been recently created immediately.
So there seems to be no way to properly run workflows in parallel and still keep track of overall status.I have been working on this for days and I am really stuck!
Anybody have any suggestion??