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);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.