Class NewWorkItemDefinition
- Namespace
- JobFlow.Models.Jobs.Definitions
- Assembly
- JobFlow.Models.dll
Create a new Work Item with its own Document.
public class NewWorkItemDefinition : JobDefinition
- Inheritance
-
NewWorkItemDefinition
- Inherited Members
Remarks
Once the new WorkItem and all associated Flows complete, this Job will complete. If you wish to create a "fire and forget" style of processing, then create the new Work Item directly using IJobFlowWorkItemFactory.
Constructors
NewWorkItemDefinition(string, IDocumentDefinition)
public NewWorkItemDefinition(string jobName, IDocumentDefinition documentDefinition)
Parameters
jobName
stringdocumentDefinition
IDocumentDefinition
Properties
DocumentDefinition
public IDocumentDefinition DocumentDefinition { get; }