Skip to main content
Question

Pipeline "for each" loops

  • February 24, 2021
  • 0 replies
  • 418 views

MarkShnierYou
Forum|alt.badge.img+24
I must be missing a basic concept with Pipelines.
My goal is to Search (retrieve) records from a table.  Then for each record, do three steps in sequence.
1. Update a record 
2. Call an API Webhook #1. (API_RunImport#ID=10)
3. Call an API Webhook #2. (API_RunImport#ID=11)


The search work fine and returns 5 records ( I set that as a limit for testing).

But then it gets into the For Each loop and does that first Update step #1 5 times in a row, and then starts into the API calls.

How do I get it to do the three steps in that sequence.

ie
update record with Search results #1.
call Webhook
call webhook.

Then update records with Search Result #2.
call Webhook
call webhook.

etc for 5 loops.


 


​​​​​

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------

QuickBaseJunkie
Forum|alt.badge.img+15
Are all 3 steps (B, C, & D) nested under step A?

If so, I agree that they should loop in order as you stated.

Can you post a pic of the high-level view (all steps collapsed) of the Pipeline?

------------------------------
Sharon Faust (QuickBaseJunkie.com)
Founder, Quick Base Junkie
https://quickbasejunkie.com
------------------------------