# Post submit SuiteScript hook ran twice

**URL:** <https://connective.celigo.com/t/post-submit-suitescript-hook-ran-twice/6332>\
**Category:** Integrator.io\
**Created:** [June 4, 2026, 7:57pm UTC](https://connective.celigo.com/t/post-submit-suitescript-hook-ran-twice/6332 "2026-06-04T19:57:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steph\_Hughes](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steph\_Hughes](https://connective.celigo.com/u/Steph_Hughes)\
**Post date:** [June 4, 2026, 7:57pm UTC](https://connective.celigo.com/t/post-submit-suitescript-hook-ran-twice/6332/1 "2026-06-04T19:57:12Z")

</div>

Has anyone ever had a problem with a post submit hook running a SuiteScript twice? I can see in NetSuite in the system notes of the resulting sales order, that it ran once when first creating the order, and then again 3 minutes later. So, the item it adds was added twice. All system notes entries were attributed to our Celigo connection user.

This is in the Shopify B2B - NetSuite template, creating sales orders.

---

<div class="post-metadata">

**Author:** ![nileshkumar](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/nileshkumar/32/6842_2.png) [@nileshkumar](https://connective.celigo.com/u/nileshkumar)\
**Post date:** [June 5, 2026, 9:40am UTC](https://connective.celigo.com/t/post-submit-suitescript-hook-ran-twice/6332/2 "2026-06-05T09:40:14Z")

</div>

@Steph_Hughes To help narrow this down, is this happening for every single order or was it a one-off case. Also, were there any recent modifications made to this flow or the post-submit hook script?

To look into this deeper, please raise a support ticket including the system notes, Logs if available and details if any recent flow changes occurred. Thanks.

---

<div class="post-metadata">

**Author:** ![Steph\_Hughes](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@Steph\_Hughes](https://connective.celigo.com/u/Steph_Hughes)\
**Post date:** [June 5, 2026, 12:31pm UTC](https://connective.celigo.com/t/post-submit-suitescript-hook-ran-twice/6332/3 "2026-06-05T12:31:46Z")

</div>

We've had this sync running on a limited subset of orders for a long time with no issues. This happened in the first half an hour after we turned on all the orders to go through this sync. Then I limited it again - so it was just a one-off.

In another copy of the sync (we have it running on two stores), similar orders have come thru without the hook running twice.
