Find Which script or workflow is sending mails - netsuite

I got a Netsuite CRM system from a client where already there are 100+ workflows and scripts implemented and running.
One of the consumer of client is getting system generated emails from netsuite on Daily basis which they want to stop. Say the mail id is abc#xyz.com
Client asked me the same, now my question is how to find which workflow or script is generating the mails or is there any simpler way to block the mails sent to that id?
Thanks in advance.
Regards
Rahul

Thanks for the reply.
The best option I found was sending that mail id to Netsuite support and asking them which workflow/script is really sending the mails to which they replied.
Once that was done then I found it to be a workflow which had a saved search that was giving the data.
I went to the record from the saved search and I was able to stop the mails.
Any ways thanks for your time.
Glad

In your case, you have to do some dig through with your email and its content.
Check the content of the email and check for the email reason. Ex. Order Completed, Payment Pending
From this you can identify from which record mail is being sent.
Check the Messages sub tab under General tab of the Customer record for the author of the email.
Download all Scheduled Scripts with deploy status as Released and open all the script files and use Find all method with the authoremailid and authorinternalid
Thanks
Frederick

Best way I found:
Get the mail id.
Search it in global search
It will give corresponding record.
Open the record and in bottom go to system information.
Check the Active workfow and check that work flows you will find your answer.
Thanks
Gladiator

Related

Acumatica - Outlook PlugIn Reply Action

we are using Acumatica outlook plugin to create CASES and we are successful in achieving it.
As you know outlook plugin will automatically create a email activity when we create case. So sometimes we send reply from Outlook plugin and some times we send reply from Acumatica.
The issue is - When we send reply from outlook plugin we are unable to see email in "All Emails" screen, but if we are sending reply to same case from Acumatica we are able to see email in "All Emails" screen.
Can someone please suggest us, what we are missing here.
We are in 2019R2, without any customization published.
There could be a couple of reasons you may be running into this problem. Depending on how you have your setup, one reason could be because of the way you have your System Email Account set up. Check what email is sending as, it could be sending a centralized account. Also check what you default email is set on your account.
Also, are you using the Outgoing Tab? Or looking looking at the all records tab? It could be because of the status of your email. When sending through the Outlook plugin, double check the emails are sending, and double check the status of the activity. It could not be completing and being left as an open item.

Datacap Email count and connect to a specific folder

I have two requirements in Datacap 9.0.1
I want to find how many emails that were sent to the done folder and
how many were sent to problem folder. This way, I can alert the
users that say, out of 10 emails in the inbox, 7 of them processed
successfully and 3 moved to the problematic folder. I know
EmailCount variable gives me the count of emails that datacap was
able to read successfully/moved them to the done folder but what I
want is the initial count of emails so that I can find a difference.
Is it possible within datacap to scan a folder other than Inbox? For
Ex, if I want to scan 'Sent Items' folder how would I do that? I
looked into the email connection actions, but I don't see anything
which can help me to connect to the folder that I want.
Ok, this is the answer that I got from another datacap forum. Posting it here so that it helps others
Not sure about number 1. I believe that would require modifications to the mail actions.
For #2, no, there is no way to specify something other than inbox.
Both of these would likely require some sort of enhancement.
Here the enhancement means creating datacap custom actions. I haven't tried creating one and in case if I happen to create, will post the details of it.

Netsuite : Autoforward the mails to an ID

I am working on a CRM.
We recieve reply from the leads and customers.
We have sequences(Workflows and scripts) by which we send Emails to our customers or leads. When they reply to the mail I can see the mail in the netsuite as well as the sending mail id recieves them as response.
I want to forward this mails to a particular mail id which is not the sending nor cc or bcc mail id. How can i achieve this? which script needs to be written or any workflow to be created for this.
Thanks In advance
Gladiator
Try build an action on top of the "event" record maybe? Whenever an email is created with said characteristics do X.
Same could be done searching for customer records on a scheduled basis.
You could also try building an email plugin to collect responses.

How to disable workflow initiated email from SP workflow

I have a workflow in SharePoint 2013 that sends out emails to the user whenever their requests gets worked on. They however also get an email that says "A workflow has been initiated on the following list item".
Is there any way to disble that email from being generated or sent to the requestor?
Please advise, thank you.
With SharePoint Designer, you can change or simply remove the initial email send to the Author.
There are some workaround to do, since you'll have to copy the OOTB Workflow before editing him.

Script to check whether all mails replied in Lotus Notes

We use Lotusnotes 6.5 as email client. We wil have around 1600+ mails for 9 hrs. If a mail not checked , we have face serious issues with our client. Can any script can be written to check whether all mails are checked and replied?
Update:
We have already tried moving the mails to another folder.But has this mailbox handled by team of persons, we noticed lot of human error happening like moving a unread mail, sometimes they would have read mail but forget to reply it etc.etc.
So I was looking out for a script solution, will your other options. Also one more thing we do is we cc our mailbox mail id for all outgoing emails to have a track of all replied mails, will this could help in any way to find out which mails was missed?
If you need to track unread marks, I second the aforementioned nsftools solution, which works in Domino 7.x too. However, this is very much Notes ID-dependent. A folder would be better.
Note that 6.5x is well out of support, and that Domino 7.x officially died this week: use something at least vaguely modern!
There's an easier non-programmatic way. Just move the email from the inbox into another folder once the email has been responded to. That is more reliable than any programmatic solution, and keeps your inbox tidy (which will certainly be necessary if you get nearly 200 emails per hour!)
That said, here are some other ideas.
Determining if the document was read
Unread marks are not your friend here, unless you'll be accessing the mail file from the same client. Also they tend to get out of sync and would likely prove unreliable at some point, especially given the number of incoming emails. Instead you'll need to have some information that is saved within the individual mail document, such as the last accessed property or a custom item you manage via scripts/formulas.
You can see if an email has been read by checking the Last Accessed property of the mail document. According to IBM's technote (https://www-304.ibm.com/support/docview.wss?uid=swg21086670), the property will be updated when the document is read.
You could write a script in the QueryOpen event that stamps a value on the document and saves it.
Determining if the email was responded to
First off, I'd suggest you save all sent emails in case you need a record of what was sent to the client. That won't give you a way to see which emails have not been responded to, however.
Instead you could add script to the reply action within the memo form. When someone click's reply it could update the current memo, stamping an item on it to say who replied and at what time, for instance. Then you can create a view to show any emails that don't have that item, and another view to show emails that do grouped by who responded. The second view could even show how many emails each person responded to, something that might be used as a measurement of performance perhaps.
"Unread mark" checking is not exposed in the API.
I did find 2 links, this one is a basic implementation, where as this link does have more robust code and is implemented as an object in LotusScript. It should be compatible with Notes 6.5+.
I found the second link through nsftools website which has lots of great snippets that solve various problems. You should at least be able to detect if a mail has been read or not. Note that it requires making API level calls. You should be able to create a new script library and copy/paste the code into it.

Resources