User Event execution not triggered after import

I have an After Submit User Event script that should be executing after a flow updates specific fields on a custom record, but the Celigo import is not triggering the script. The custom record is a "child" record of another custom record.

Configuration settings:

  • All Execution Contexts selected on the script deployment in NetSuite - context of update is Script (RESTlet).
  • User Event script set to only trigger on context.UserEventType.EDIT.
  • Celigo Update operation on a custom record, using SuiteApp SuiteScript 2.x.

Is the Celigo import using submitFields on imports when updating a record, thus not triggering a user event? I guess I could use a SuiteScript hook in this instance, but it would be nice if I could get the already written User Event script to work.

There is a good response here from @muneswarathotakura on when we use submitField vs submitRecord:

1 Like

Thanks Tyler, I think this answers my question. I didn't realize I could use XEDIT to trigger the submitFields edit, I'll give it a go.

No problem! Let us know what you end up doing so others who run into this can solve it too.