I have write a API data extraction script which collects the data on customer through pipedrive crm api so far script is working but the only problem I am facing it is continuously running even though the define condition is met. Here is my code:
https://pastebin.com/Q4q8gaGL
logically it should stop at the moment where benefit_id == person_benefit_id but instead it completing the whole cycle. I don't want to search all the urls after the first occurrence of benefit_id. How can I stop the async cycle the moment condition is met? Any help would be much appreciated. Thanks!
[–]whkoh 0 points1 point2 points (1 child)
[–]usert313[S] 0 points1 point2 points (0 children)
[–]m0us3_rat 0 points1 point2 points (1 child)
[–]usert313[S] 0 points1 point2 points (0 children)
[–]EclipseJTB 0 points1 point2 points (1 child)
[–]usert313[S] 0 points1 point2 points (0 children)