Skip to main content

EnsLib.Workflow.Worklist

persistent class EnsLib.Workflow.Worklist extends %Library.Persistent

SQL Table Name: EnsLib_Workflow.Worklist

Represents a worklist item associated with a User within a Workflow application.

Property Inventory

Method Inventory

Properties

property Age as %String [ Calculated ];
Calculated Age of this item.
Property methods: AgeCompute(), AgeDisplayToLogical(), AgeIsValid(), AgeLogicalToDisplay(), AgeLogicalToOdbc(), AgeNormalize(), AgeSQLCompute()
property IsNew as %Boolean [ InitialExpression = 1 ];
Has the user seen this item yet?
Property methods: IsNewDisplayToLogical(), IsNewGet(), IsNewGetStored(), IsNewIsValid(), IsNewLogicalToDisplay(), IsNewNormalize(), IsNewSet()
property Role as RoleDefinition [ SqlFieldName = RoleName , Required ];
The Role this item is associated with.
Property methods: RoleGet(), RoleGetObject(), RoleGetObjectId(), RoleGetStored(), RoleGetSwizzled(), RoleIsValid(), RoleNewObject(), RoleSet(), RoleSetObject(), RoleSetObjectId(), RoleUnSwizzle()
property Task as EnsLib.Workflow.TaskResponse [ Required ];
Link to Task (TaskResponse) that created this item.
Property methods: TaskGet(), TaskGetObject(), TaskGetObjectId(), TaskGetStored(), TaskGetSwizzled(), TaskIsValid(), TaskNewObject(), TaskSet(), TaskSetObject(), TaskSetObjectId(), TaskUnSwizzle()
property TimeCreated as Ens.DataType.UTC [ InitialExpression = $$$timeUTC ];
The timestamp when this Item was placed into the worklist.
Property methods: TimeCreatedDisplayToLogical(), TimeCreatedGet(), TimeCreatedGetStored(), TimeCreatedIsValid(), TimeCreatedLogicalToDisplay(), TimeCreatedLogicalToOdbc(), TimeCreatedNormalize(), TimeCreatedOdbcToLogical(), TimeCreatedSet(), TimeCreatedStorageToLogical(), TimeCreatedtimeCmp(), TimeCreatedtimeDiff(), TimeCreatedtimeLocal(), TimeCreatedtimeLocaltoUTC(), TimeCreatedtimeUTC(), TimeCreatedtimeUTCH(), TimeCreatedtimeUTCHtoUTC(), TimeCreatedtimeUTCtoLocal(), TimeCreatedtimeUTCtoUTCH()
property User as UserDefinition [ SqlFieldName = UserName , Required ];
The User this item is associated with.
Property methods: UserGet(), UserGetObject(), UserGetObjectId(), UserGetStored(), UserGetSwizzled(), UserIsValid(), UserNewObject(), UserSet(), UserSetObject(), UserSetObjectId(), UserUnSwizzle()

Methods

method AgeGet() as %String
Overridden accessor method for the calculated Age property.
classmethod CurrentAge(ts As Ens.DataType.UTC = "") as %String
This class method calculate the current age of this item.

Indexes

index (ID on Task,User) [IdKey, Type = key];
Identity Index
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()
index (UserIdx on User:Exact);
User cross-index
Index methods: UserIdxExists()

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (EnsLib.Workflow.Worklist)

^EnsLib.W.WorklistD(ID)
=
%%CLASSNAME
IsNew
Role
TimeCreated
FeedbackOpens in a new tab