I am connecting to Anaplan API from AWS using Python. I am able to connect, run export etc.
I am getting the status of task as IN PROGRESS but expeting COMPLETE. I need some help putting how to iterate/wait until the task status returns COMPLETE.
appreciate your thoughts or advice
Go to Solution.
With Python, you just need to create a simple loop to check on the status of the response and perform until it meets your criteria:
while task != "Complete":
This is just a psuedocode example, but something similar to this will work.
For your reference, there is a Python library for Anaplan in our knowledge base that handles all this, please take a moment to review and feel free to use if you like.