1

I wan to send email after item got deleted from list for that I used delete item action in designer workflow but that doesn't got triggered and am not able to do this using Remote Event Reciever.

1 Answer 1

0

I have not tried it, but it should work

SPWorkflowManager wfManager = properties.ListItem.ParentList.ParentWeb.Site.WorkflowManager;

SPWorkflowAssociation workflowAssociation = properties.List.WorkflowAssociations.GetAssociationByName("workflownamehere", CultureInfo.InvariantCulture);

wfManager.StartWorkflow(properties.ListItem, wfAssociation, wfAssociation.AssociationData);

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.