Hello Alteryx Professionals,
I am new to Alteryx Macro, so I am not quite sure how to deal with my situation now. Hope you could help.
So the purpose of this Macro, is to get all the history changes from Smartsheet for a specific column. However, smartsheet only has an API that we can fetch cell history, so if I want to fetch for a specific column, I need to kind of loop every row to get each cell's history. There are 2 steps that I need to do:
1. Use sheet id and Column name to fetch the specific column related rows info, ie, row id. (By calling smartsheet API)
2. Then use the column id and row id to locate each cell, and fetch the cell history changes by calling another smartsheet API.
So if there are 5 rows in total, I will need to use step 1 for once to get the column id, and the 5 row ids, and then use step2 for 5 times to fetch all the cells history, then union together to be a column's history change.
In this case, I need a macro, that could partially loop itself, by using step 1's output as the input. And the real input for this whole Macro should be an sheet id, and a column name to locate which column I want the history changes. Then I am not sure how to do this, and if it is iterative or Batch macro that I should use.
Thank you in advance!