Skip to main content
Question

pipelin

  • July 16, 2023
  • 0 replies
  • 44 views

Forum|alt.badge.img+3

I want to run a pipeline that does three steps vi api request:

a.Run import opon trigger

b.Search some records and delete them or delete via api a certain search qid.

Need step a to have  finished:

c. Run a different import.

I have a couple of coded solutions that use this kind of approach. I did that via code using javascript "promises" but i want to keep things with native quickbase tools.

I have read some posts but not a definite solution.

Someone suggested to introduce a pause between a and b using clock. That will work in 99% of the cases but i am afraid of those 1%.

Is there a way to read the output of the api request? maybe when you read no error, you continue with next steps.

Thanks on advance



------------------------------
eduardo valdes
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9
  • Registered
  • July 17, 2023

Is there something you found that makes you question the Pipelines solution? Pipelines by their nature operate synchronously (At least in my experience) given that they do interpret the prior step for us in the next as an option.

In your example - you would:

  1. Use the Quickbase Channel to do a Request step under the 'Quickbase APIs' - do an API_RunImport for the selected table import
  2. Do a Search Records under 'Records' to target what you want to update/delete or you can do a Remove Records under the bulk records grouping
  3. Run another import

The pause would only be necessary if you had some other process, such as another pipeline or some other automation and you needed time for it to process. So long as this is all occurring in the same pipeline there should be no issue. 



------------------------------
Chayce Duncan
------------------------------