Skip to main content

FlowDeleteDocument

Represents a workflow step for deleting documents in the system.

Properties​

NameDescription
CaptionThe caption dictionary representing localized captions for the flow object.
KeyA unique identifier for the workflow step.
NameName for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
DocumentsRepresents the list of documents to be deleted.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.

Constructors​

NameDescription
FlowDeleteDocument(name, workflowData, workflowCodeInstance)Constructor for the FlowDeleteDocument class. Initializes a new instance of the FlowDeleteDocument class.
FlowDeleteDocument(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowDeleteDocument class.

Methods​

NameDescription
DeleteDocument(flowDocument)Deletes a specific document.
Initialize()Initializes the current workflow step.
DeleteDocuments()Deletes the documents specified in the Documents list.

Events​

NameDescription
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.