AnsweredAssumed Answered

Problem Script

Question asked by Ben_B94 on Feb 1, 2016
Latest reply on Mar 1, 2016 by Ben_B94

Hello,

 

Having trouble with a script provided for me. The generate email script in the file should send an email to the person with their items but it sends items 1 at a time so sending more than 1 email to the same person. It seems to be from the $itemList if statement. The if statement is supposed to set  $itemList to the first item, then go to the next record and re-test which ends in result 2 which is $itemList(the first item) + the current item, from my limited understanding. But for some reason it seems to exit the loop early? And not go to next record or that's what it seems like.

 

The demo file that was sent to me works fine but I have sat and went line by line checked everything I think? But Please see attached clone file. Thanks.

 

Regards,

Ben

Outcomes