write code that adding the new document and move the document to workflow next step.
DocumentHelper.InsertDocument(node, parentNode.NodeID, tree);
// update node name
node.DocumentName = node.NodeID + " " + txtName.Text;
// update workflow step
WorkflowManager wm = new WorkflowManager(tree);
WorkflowInfo wi = wm.GetNodeWorkflow(node);
if (wi != null)
{
WorkflowStepInfo si =wm.MoveToNextStep(node, "");
}
// Update the document
DocumentHelper.UpdateDocument(node, tree);
The document is added as expeted, workflow step is done
But no Email notifications sended
Please help
Thanks