AnsweredAssumed Answered

How to detect when a loop fails?

Question asked by kurt.bleicken on Feb 24, 2017
Latest reply on Feb 24, 2017 by CamelCase_data

A script loops through as many as 400 contact records and sends an email using the send mail script step with a one second pause. This was recently executed by one of our client users on WebDirect. The procedure failed about halfway through and the script apparently just stopped at a particular record.

 

On a second attempt it failed again later at that same record. The email addresses for that record and the following record were valid. What would cause the script to simply stop at a particular record. Could that record, or the next record have been corrupted in some way?

 

What is the best way for us, the developers, to get notified when a script in use by a client fails?

Outcomes