I have a send email action which is triggered on e...
# ask-stanley-ai
a
I have a send email action which is triggered on entry when the state moves from after record submit into this state with the email. Why does it not send?
c
AI generated answer (using internal Slack threads):
Based on the conversations, there could be several reasons why the send email action is not being triggered when the state moves from after record submit into this state with the email. 1. Record has been changed error: This error usually occurs when you try to perform multiple actions on the same record in a single workflow state. To avoid this, you can create a new state and transition to it on After Record Submit. In the new state, you can set the Send Email action on Entry. 2. User Role and Email Preferences: If the Send Email action has a condition that includes User != <my name> and you are still receiving the email, it could be due to your user role or email preferences. If you have an Admin role, check the Setup>Company>Email Preferences. There's a checkbox there 'Send to All Administrators'. If it's checked, you will receive the email regardless of the condition set in the workflow. 3. Triggering Send Email on Button Click: If you want to trigger the Send Email action when a button (like the Approve button) is clicked, you cannot use the BeforeLoad trigger. It should be either "Entry" or "AfterRecordSubmit". If clicking the button doesn't drive After Record Submit and Entry doesn't work either, you can create a transition to a new state upon the execution of the button. Then, on entry in the new state, put the send email action. If you can't select the button because it's a standard Approval button, you can try creating a transition based on the Status field changing to "Approved" and leave the trigger blank. Then put the send email action on entry in the new state. Remember, these are just possible solutions based on the given conversations. The actual solution may vary depending on the specific configuration of your NetSuite environment. ****** 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.889345229
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.863019049
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859216094
Please provide your feedback on this answer.