tridion-sites-extensions-api-docs

Home > @tridion-sites/models > WorkflowInfo

WorkflowInfo class

Represents workflow-related information for items that can participate in a workflow process.

Signature:

export declare class WorkflowInfo

Constructors

Constructor Modifiers Description
(constructor)({ activityConstraints, activityInstance, activityState, assignee, assignmentDate, backendModel, dueDate, finishDate, performer, processInstance, startDate, creationDate, })   Constructs a new instance of the WorkflowInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendWorkflowInfo  
activityConstraints   ActivityConstraints | undefined Constraints of the current activity.
activityDefinitionDescription   string | undefined Activity Definition Description of the current Activity Instance.
activityInstance   Link | undefined Activity Instance in which the item is currently participating (if any).
activityState   ActivityState | undefined State of the current Activity Instance.
assignee   Link | undefined Assignee of the current Activity Instance.
assignmentDate   Date | undefined <p>The most recent assigned/re-assigned date and time in UTC of the current Activity Instance.</p><p>Initially, the Assignment date and Creation date are the same, upon re-assign of the activity this is updated to time the operation was performed.</p>
creationDate   Date | undefined Creation date and time in UTC of the current Activity Instance.
dueDate   Date | undefined Due date and time in UTC of the current Activity Instance if any.
finishDate   Date | undefined Finish date and time in UTC of the last Activity Instance.
getInternalModel   () => BackendWorkflowInfo  
performer   Link | undefined Performer of the current Activity Instance.
previousMessage   string | undefined Finish message of the last Activity Instance.
processInstance   Link | undefined Process Instance in which the item is currently participating (if any).
startDate   Date | undefined Start date and time in UTC of the current Activity Instance.