Hi Guys, I am sending an email to user via Saved S...
# suitescript
a
Hi Guys, I am sending an email to user via Saved Searches. It works if someone updating custom field on Sales Order record in Sandbox. But sometimes I am getting email and sometimes not, not sure why? can someone help me? Thanks in advance!
e
Depends on email settings for the Sandbox environment. Run a Saved Search of Messages sent to truly gauge emails that would otherwise be "sent" but just aren't actually delivered from the Sandbox environment. You may be receiving emails when you make the update, if set to email the logged in user
n
Look in the communication tab at messages on your entity record as appropriate.
a
Hi @ec and @NElliott, I can't see that in Communication subtab, BTW, how I can triggered email while updating Sales Order record, not creating Sales Order record via Saved Searches?
n
There's no email in the messages section of the communication tab, but you're saying it sometimes sends the email and sometimes doesn't?
"I am sending an email to user via Saved Searches." Can you clarify, are you running a script that uses a saved search or using the saved search as a scheduled email. If it's not using script this is likely not the best channel for this question.
a
@NElliott so in which channel I can ask?
n
maybe try in general or administration
a
ok
thanks @NElliott
👍🏻 1
e
I meant you can create a new Saved Search, for Messages - not on the transaction itself in the Communication tab. Rather, perform a Saved Search for Messages, created today. You should see the latest emails there.
a
Hi @ec, how I can only send an email while updating records. Currently it's working for both update and create.
e
What context are you in? I thought you were in script, but looking back I see this is probably straight up Saved Search alerts?
in script you have more control over that; for Saved Search alerts, you can only send on create, or on create AND update, but to my knowledge you cannot send ONLY on update
unless you filter out CREATE from your search somehow
a
Okay @ec thanks!