Calling WriteAddressRecord Immediately after WriteDirectory When Creating a New Customer

In my integration triggered logic block, I am using the WriteDirectory logic block to create a new customer. Then I will call the WriteAddressRecord logic block to create the address cross reference. However, it seems calling the WriteAddressRecord logic block would fail unless I am stepping thru the code inside the debugger; then it was successful to create the customer and his address cross reference. Is it something that I am not doing right?

Hi David!

Sounds like you’re experiencing different behavior when you debug vs. when you don’t. Please see this thread for recommendations on how to investigate that.

Hmmm, I no longer see the issue in the Test environment now. There seems to be something updated overnight that made a difference :grin:. I will watch the issues closely this week to see if it reoccurs. Thanks for you help @brendan.b