csv import doesn't trigger UE script even context ...
# ask-stanley-ai
b
csv import doesn't trigger UE script even context has CSV Import
c
AI generated answer (using internal Slack threads):
Based on the conversations, it appears that User Event (UE) scripts can be triggered during a CSV import in NetSuite. However, this doesn't happen on the client-side, but on the server-side. When you're setting up the CSV Import Assistant, there's an option in the advanced section to enable scripts to run on import. If you select this checkbox, any User Event scripts that are deployed against that record and context will run. However, there's no out-of-the-box way to have certain scripts run for specific imports. One workaround suggested is to include a custom field value in the CSV import that indicates if the script should run. Then, in the script, you can check if this value is set and if not, don't execute the rest of the script. As for using the CSV scriptid on the User Event, it seems there's no known way to do this. You could try inspecting the scriptContext object when the UE script fires to see if there's anything passed into it that might help. But be aware that if you find anything, it's not going to be a documented feature, so use it with caution. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847871244
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842473507
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834816217
Please provide your feedback on this answer.