I think this illustrates my point and hopefully they are addressing this in the next release of the workflows. It’s a critical error to not be consistent in a low code no code environment. If you illustrate workflows as sequential and then say “Well, no, they run as fast as they can” it negates the dependency that some steps in the workflow have on previous steps in the workflow.
I am receiving a JSON file from an API and the payload includes a Shopify storeURL - that is a key to Shopify, they cannot be duplicated. So it’s a key for me as well and it cannot be duplicated and it enables multitenancy (in part). So I have w workflow that is posting a new consumer record to Shopify and it’s about 8 steps in from where the URL is collected from the JSON payload (Its called the Request Data) so requestedata.storeurl = mystore.myshopify.com which when paired with a Shopify X-Access-Token gives my app access to the Shopify Adming for that store.
But on the 8th step, when I call the storage location for the token using the URL it returns = nothing. And so I get 401 errors for not authenticating. I put a step in front of the create Shopify customer record to capture the Shopify token using the same method in the Schedule API from the same data source and write it to a table. the table does not get the token. That tells me the “Do A Search for Store Tokens where storetokens.storeurl = requestdata.storeurl and each storetokens.shopify-access-token first item” is not working. If I use the previous step, it will not work. The token is in the tokens table, but the workflows, running out of sequence, are erroring out.
That visualization of a linear flow is a mistake. And a very hard one to figure out with the server logs unless you put in a step to capture the token before you need to use it in the Schedule API Workflow step. If I cannot pass the token to the API connector, the app is entirely broken.
Right now, it’s entirely broken.
1 Like