tridion-sites-extensions-api-docs

Home > @tridion-sites/models > Process

Process class

Abstract base class for the data of Processes.

Signature:

export declare abstract class Process extends WorkflowObject

Extends: WorkflowObject

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, activities, creator, subjects, workflowType, …workflowObjectArgs })   Constructs a new instance of the Process class

Properties

Property Modifiers Type Description
_backendModel   BackendProcess  
activities   ReadonlyArray<Activity> | undefined Activities that occurred within the Process.
creator   Link | undefined The creator of this process.
getInternalModel   () => BackendProcess  
hasSnapshots   boolean Whether this Process has snapshots.
subjects   ReadonlyArray<Link> | undefined The items which participate in the Process.
workflowType   Link | undefined <p>Workflow type of this process. Different workflows are intended for different purposes (such as workflow process started automatically on editing item, project workflow where multiple items involved or task workflow process. The Workflow Type allows to distinguish workflow processes by their purpose.</p><p>Predefined Workflow Types are: - Unspecified (tcm:0-1-67584) (default), - SystemStarted (tcm:0-2-67584) (set internally on saving of Component, Page, Component Template or Page Template if they have associated Process Definition), - Task (tcm:0-3-67584)</p>