AnsweredAssumed Answered

Duplicate record script step sometimes fails

Question asked by gillekes on Jan 24, 2019
Latest reply on Jan 29, 2019 by gillekes

Hi all,

I have the following script which duplicates a record and then imports line items from a related record.

The duplicate record script step (line 13) sometimes fails to "execute" but the script runs till the end. This happens like 1 in 30 maybe, but I can't reproduce it with the script debugger. So I added a small error check (line 15) so that the scripts exits if the error check is not correct (which exits the script when the record didn't got duplicated)

 

Any body any idea why this happens?

 

Thanks,

 

Gilles

Outcomes