Action execution FAILED: The author internal id or...
# ask-stanley-ai
s
Action execution FAILED: The author internal id or email must match an employee.
c
AI generated answer (using internal Slack threads):
The error
SSS_AUTHOR_MUST_BE_EMPLOYEE
is thrown when you are trying to send an email from a script or workflow and the author (the 'from' address) is not an employee in NetSuite. This could be due to the author field being set to a non-employee record or an invalid email address. In the context of a workflow, if you want to send the email from the system, you can set the author to -5. If you want the author to be dynamic, you can create a custom field to store the author of the email and update the workflow action to get it from the custom field. In the context of a script, make sure that the author user id is of an existing user and is an integer. If you are not using N/email in your code, you need to look for a workflow that is trying to send an email using a non-employee associated email address. If you are still encountering the error, it might be due to a script or workflow running on save on the record itself trying to send some email, and you are not filling out whatever it is reading from. You can try to debug your code in the SuiteScript debugger to identify the issue. ****** 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.837556779
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835182846
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834525228
Please provide your feedback on this answer.