I have an issue with a very simple loop for debugging purposes. As you can see from the rest of the script before, I created âvar_arrayâ. Console tells me, that I have 10 records in the array (as defined earlier).
@dirk_s did you ever solve this?
Iâm also having an issue with the Loop Action.
Trying to look up a view in Tape and then send an email alert with a list of URLâs for the items in that view which need attention. It is technically loopingâŚbut not returning unique URLâs.
aka if the view has 5 items, the email contains a list of 5 URLâs, but they are all the same URL, they have not progressed forward in the loop like I would expectâŚ
How that we see the difference⌠I also had the feeling(!) that I had trouble with calculations while scripts worked as expected. I never did any more investigation, when I found out I used a calculation instead of the script action.
Probably one should dig a bit deeper into the calculation action and find our what happens.
Thank you @Jason !
Yes it appears that should solve my problem. I donât fully understand why it works correctly in the Script but not the Calculation version of that stepâŚmaybe @Tim could chime in on that.
But for now, at least a script solution is possible.
Unfortunately this is a known issue which was discovered in the past here:
We will at some point resolve this, however it will require a slight rework of the âCalculationâ action. Until then, we encourage you to use the âExecute Scriptâ action with variables, which is way more powerful and basically a superset of the âCalculationâ action in terms of functionality.
Thanks for your patience &
We will keep you posted on this