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.

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, privacy policy and cookie policy

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