public static NotifyContentChanged ( |
||
eventArgs | ||
return | void |
protected override void OnNodeModified(object sender, NodeEventArgs e) { base.OnNodeModified(sender, e); InstanceManager.NotifyContentChanged(new WorkflowNotificationEventArgs(e.SourceNode.Id, CONTENTCHANGEDNOTIFICATIONTYPE, null)); AbortRelatedWorkflows(e.SourceNode, WorkflowApplicationAbortReason.RelatedContentChanged); StartWorkflowAutomatically(e.SourceNode, TriggerEvent.Changed, e.ChangedData); }
protected override void OnNodeModified(object sender, NodeEventArgs e) { base.OnNodeModified(sender, e); // notify workflows about content change InstanceManager.NotifyContentChanged(new WorkflowNotificationEventArgs(e.SourceNode.Id, NotificationType.ContentChanged, null)); // notify workflows about parent change InstanceManager.NotifyMultipleContentChanged(CollectParentIds(e.SourceNode), NotificationType.ChildEdited, e.SourceNode.Path); AbortRelatedWorkflows(e.SourceNode, WorkflowApplicationAbortReason.RelatedContentChanged); StartWorkflowAutomatically(e.SourceNode, TriggerEvent.Changed, e.ChangedData); }
protected override void OnNodeModified(object sender, NodeEventArgs e) { InstanceManager.NotifyContentChanged(new WorkflowNotificationEventArgs(e.SourceNode.Id, CONTENTCHANGEDNOTIFICATIONTYPE, null)); AbortRelatedWorkflows(e.SourceNode, WorkflowApplicationAbortReason.RelatedContentChanged); }