Home > Class Reference > ENSLIB namespace > EnsLib.Workflow.Worklist
Private  Storage   

EnsLib.Workflow.Worklist


persistent class EnsLib.Workflow.Worklist extends %Persistent

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

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 2 2


Summary


Properties
Age IsNew Role Task TimeCreated
User

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %BuildIndicesAsync
%BuildIndicesAsyncResponse %CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion
%ClassName %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Exists %ExistsId %Extends
%GUID %GUIDSet %GetLock %GetParameter
%GetSwizzleObject %Id %InsertBatch %IsA
%IsModified %IsNull %KillExtent %KillExtentData
%LoadFromMemory %LockExtent %LockId %New
%NormalizeObject %ObjectIsNull %ObjectModified %Oid
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %PhysicalAddress %PurgeIndices
%Reload %RemoveFromSaveSet %ResolveConcurrencyConflict %RollBack
%Save %SaveDirect %SaveIndices %SerializeObject
%SetModified %SortBegin %SortEnd %SyncObjectIn
%SyncTransport %UnlockExtent %UnlockId %ValidateIndices
%ValidateObject AgeGet CurrentAge


Properties


• property Age as %String [ Calculated ];
Calculated Age of this item.
• property IsNew as %Boolean [ InitialExpression = 1 ];
Has the user seen this item yet?
• property Role as RoleDefinition [ SqlFieldName = RoleName,Required ];
The Role this item is associated with.
• property Task as EnsLib.Workflow.TaskResponse [ Required ];
Link to Task (TaskResponse) that created this item.
• property TimeCreated as Ens.DataType.UTC [ InitialExpression = $$$timeUTC ];
The timestamp when this Item was placed into the worklist.
• property User as UserDefinition [ SqlFieldName = UserName,Required ];
The User this item is associated with.

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.

Indices


•index (ID on Task,User) [IdKey];
Identity Index
•index (UserIdx on User:Exact);
User cross-index