Suitescript is not triggering when the record is created or updated through SOAP Webservice

There are several possible reasons why a SuiteScript may not trigger when a record is created or updated in NetSuite through a SOAP request. To ensure that the script runs properly in the SOAP web service context, verify the following points:

  • The script is in Released status and configured to Execute as Administrator.
  • The script is deployed to all internal and external roles.
  • The script deployment includes the Web Services context.
  • The “Run Server SuiteScript and Trigger Workflows” option is enabled under the SOAP Web Services preferences.
  • The integration role has all the necessary permissions.
  • If the integration role includes the “Control SuiteScript and Workflow Triggers in Web Services Request” permission, ensure that in the SOAP request:
  • The runServerSuiteScriptAndTriggerWorkflows preference is not specified, or
  • If specified, it is explicitly set to true.

Leave a comment

Your email address will not be published. Required fields are marked *