How to disable workflow initiated email from SP workflow - sharepoint

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.

Related

Sending email through SharePoint designer 2013 workflow

I'm trying to send an email to a person who submitted a new project request as part of a SharePoint Designer workflow using a project detail page (PDP) in Microsoft Project Server 2016.
Email recipient will be different in each time since different people can submit a project request and the workflow needs to determine the email address of the person who submitted the request and emails the person.
I cannot find a way to set up the email recipient in SharePoint Designer 2013 to accomplish this task.
I found the following URL on this subject http://mundrisoft.com/tech-bytes/how-to-send-an-email-using-workflow-when-items-are-created-or-updated-in-sharepoint/.
However, the step 6 on this page does not provide enough details on how to set up the recipient email automatically in the SharePoint Designer 2013 workflow.
Is this possible? Can you please help?
Thank you,
Have you selected the "directory book" to the right of the To: field? If so, what options do you see available?
It's pretty straight forward
In recipient field To: click on directory book then select "Workflow lookup for user" in menu, then in Data source give Workflow context and select Initiator. It will be the user who initiated the workflow i.e added in new request OR if the workflow is set to run on Item Edit as well then "Initiator" can also contain the user who modified.
see snapshot
BUT since Current Item is also available in menu you can always select "Created by" "Modified by" fields in recipient list against label To:

Sending Test Email in Workflow

I am editing a workflow (that I did not create) and inside the email that it sends, there is this link that I cannot click on. So I want to have the workflow send me the email so I can click on it through my email client to see where it leads to. Is it possible to send an email without having to run the workflow? There is an if statement that it has to go through in order to send the email and I don't want to go through the trouble to initiate it.
It's not possible to make a workflow generate an e-mail without running the workflow through the branch that creates the e-mail...
This is one reason why debugging workflows isn't very easy.

Add custom text to Sharepoint Email Alert

We have an alert set-up for sharepoint list, but I want to add some custom text to the alert email. We do not have any access to SPD or sharepoint server and can make changes to sharepoint client only.
Can anyone please advice?
The code that sends out emails runs on the SharePoint server via the Timer Job. Since you have no access to do anything with the server you've got absolutely no chance of modifying the built in alert emails.
Could you do this with javascript?
You can't send emails with JavaScript directly. You can open up a draft email in a users default email client using a mailto link but this won't achieve what you want as a user will still have to edit it.
You could, I suppose, put some javascript onto an edit page using a content editor web part (which you can do without SPD) to on changes make an AJAX call to a separate web server to do the actual sending.

Custom E-Mail Event for Sharepoint Upon InfoPath Form Submit

A customer wants an e-mail notification sent to a select group of people when a new InfoPath form is submitted to a particular Document Library on their SharePoint 2007 setup.
Easy, right? Use a custom set of rules for an e-mail submission in InfoPath, plop in the addresses, use a fancy equation to construct a useful e-mail subject line... and done. Worked like a charm. Problem solved in just a few minutes...
However, the customer doesn't want the whole form e-mailed out or even attached to the e-mail. They only want a few select fields from the form in a very simple message.
I've tried writing an ItemAdded event handler from the SPItemEventReceiver base class, but it doesn't seem to do anything. Yes, I added the event handler to the GAC and created a Feature.xml and Elements.xml to register the event handler with SharePoint. But, I'm not sure if this is even the right event to customize. Is an item in a Document Library the same as an item in a List?
Has anyone had luck doing a similar e-mail notification event? Is there an easier way to accomplish what I'm attempting? Perhaps there's a way to do this easily through the SharePoint interface or edit the contents of the e-mail submission rule to be a simplified version of the form?
Any advice is greatly appreciated!
How about a very simple SharePoint Designer workflow that is triggered when the form is uploaded. From there you send an email and include content of the (exported) columns in an email body.

Approve/Reject in email generated by SharePoint

When I make a meeting in Outlook, the recipient gets a approve/reject button in the top of the email. I'd like to do a similar thing with SharePoint: when a task is created, an email is sent to the person the task is assigned to, and the email asks the recipient to either accept or reject the task. I've seen demos of people doing this with a custom ASPx page, but I'd like to make it directly in the email. How should I go about doing that?
I'm used to making workflows in Visual Studio, so I'm happy with code examples for setting up an email and/or parsing the response
Cheers
Nik
The approve/reject buttons in Outlook shows up because the email is in the iCalendar format. I dont know if this is the best way, but you can send out your own iCalendar emails using C# code and set the response email to a mail server you control. From that mail server you can process the email and use the SharePoint WebService API to approve the item in SharePoint.
I like JMD's suggestion but I don't know how you'd interact with SharePoint from the mail server.
It might be a easier to send an HTML-formatted email with two links (...) for the Accept and Reject buttons. You could use CSS to format them so that they look like real buttons.
You could then create an ASPX page (or better an IHttpHandler implementation) to perform an action based on parameters passed to it via a URL. You'd want to pass in the site, web and list details and the list item ID along with a value to indicate whether the item is approved or rejected.
Then set the URLs of your "buttons" in the email to call your handler and pass in the appropriate parameter values.
The downside to this is that the "buttons" would be part of the message body and not part of the Outlook chrome but, on the other hand, they would be usable from any email client.

Resources