persistent class EnsLib.Workflow.Worklist extends %Persistent
Represents a worklist item associated with a User within a Workflow application.
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.
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.
Identity Indexindex (UserIdx on User:Exact);