The specific use case is I'm pulling data via an API. The API first creates a JobID - a long alpha-numeric string, then I run another API placing the JobID in the query string, which performs the initial pull of data delivered in JSON format.
If there is more than 1000 records worth of data in the initial API call's payload, then the payload will contain a field called "cursor". The cursor value is a long alpha-numeric string just like the aforementioned JobID. If there is a cursor, this indicates the associated JobID has more data to deliver. I would then append the &cursor={string} to the API call's query string and run it to pull that data.
However, if there is no cursor, then I would like to end the branch that processes that part of the workflow without producing an error. There may be no cursors to an API call; but there could be multiple cursors. A separate branch would process the subsequent cursors.
Is it possible to bring a branch to a normal stop if there is no cursor?
thank you for any assistance,
Chris
Solved! Go to Solution.
Will not a filter do the work?
The true will go to you normal process, and the false will just terminate.
And yes, it was that simple! Thank you Qiu.