Further to a script I created with the generous help of FM Community members - I now need the script to perform twice in a row.
If you could run 2 individual scripts simultaneously, triggered on exit of the portal - my problem would be solved. So the next solution is to make one longer script to do the work.
The script runs upon exit of a portal row and populates related fields in another layout. The first instance of this script works perfectly.
I have added a Part 2 where I want it to repeat but with a different set of records.
Currently it gets stuck in a loop. The script is shown in 2 screen grabs below.
Where am I going wrong?