Hi community!
I am writing a program that should collect data form a web API and store it in a database (PostgreSQL). The implementation follows the algorithm below:
1) Obtain data from a web API;
2) Check if particular fields are present in the existing table in the database;
3) Update the fields if they are missing;
4) Re-read the table, because id's of records are generated automatically by the database;
5) Write data to another existing table using the id's from the previous table.
The task in itself is simple.
However, I am experiencing an issue with writing and re-reading of data from the table because of "unpredictable" sequence of execution.
If I place several In-tools on canvas, even if one of them is inside a macro, they are executed simultaneously.
At the same time, several Out-tools do write values into the table, but I cannot be sure when they do this.
As I have found out from reading various posts here in discussions, that is difficult to control which tools are executed first, particularly in/out tools.
Therefore, to have a better overview I have inserted several Python-tools (scripts) to interact with the database, and the rest is performed with the Alteryx own tools.
Recently, I have also experienced that Python-tools contain no code when I start the flow after a weekend.
Could any one suggest a number of tools without using Python to perform the task?