# RHWorkStatusTask
Inherits from: RHObject :: RHWrapper
# Class Methods
# Inherited methods
# New
function Dynamic New(Object prgCtx, Record request=$RHCore.Utils.GetRequest(prgCtx), Integer workid=Undefined, Integer subworkid=Undefined, Integer taskid=Undefined)
# Overrides:
New
in class RHObject
# Instance Methods
# Property Methods
Property methods can be accessed with the valueForKey
method.
accepttask classidentifier classname clone comments commentssub data dateassigned datedue dispositiondata errorassoc expandgroupinfoflag gif gif32 hash identityhashcode img inboxgif instructions isautotask iscurrent isdone iskilled ismemberaccept isperformertask issubmaptask istaskassigned iswaiting iterator maprecordtask methods name okassoc performer propertymethods reset serialize status statusverbose string subtype subworkid subworkmapstatus taskeditframedata taskid taskrec taskstatus test title type url wftask wftask2 work workdata workflow workid workrec
# Inherited methods
assert cacheMethod cacheValueForKey callSuper checkError class classIdentifier className clone deserialize dict endTrans hash identityHashCode isAccessorMethod isCached isInstanceOf isProperty isPropertyMethod isPropertyRelated iterator methods pluck prepareForReuse propertyMethods removeFromCache reset resetCache resolveRelatedProperty respondsTo serialize setCacheValueForKey setValueForKey setValueForKeyPath startTrans string super touch valueForKey valueForKeyPath
# acceptTask
function Assoc acceptTask()
# addComment
function Assoc addComment(String comment)
# comments
function RecArray comments(Integer workid=.workid())
# commentsSub
function RecArray commentsSub()
# complete
function Assoc complete(String disposition=Undefined)
# data
function Assoc data()
# dateAssigned
function Date dateAssigned()
# dateDue
function Date dateDue()
# dispositionData
function RecArray dispositionData()
# expandGroupInfoFlag
function Integer expandGroupInfoFlag()
This flag determines how a group performer step is handled. Valid values are:
$WFMain.WFConst.kWFGroupExpand $WFMain.WFConst.kWFGroupExpandFull $WFMain.WFConst.kWFGroupMaintain $WFMain.WFConst.kWFGroupStandard
or Undefined, if not defined or not applicable.
# gif
function String gif()
# gif32
function String gif32()
# img
function String imgPrefix()
# inboxGIF
function String gif()
# instructions
function String instructions()
# isAutoTask
function Boolean isAutoTask()
# isCurrent
function Boolean isCurrent()
# isDone
function Boolean isDone()
# isKilled
function Boolean isKilled()
# isMemberAccept
function Boolean isMemberAccept()
Returns true if the task is assigned to a user.
# isPerformerTask
function Boolean isPerformerTask()
# isSubMapTask
function Boolean isSubMapTask()
# isTaskAssigned
function Boolean isTaskAssigned()
# isTaskType
function Boolean isTaskType(String taskType)
# isWaiting
function Boolean isWaiting()
# mapRecordTask
function Record mapRecordTask()
# name
function String name()
# performer
function Frame performer()
# primitiveValueForKey
function Dynamic primitiveValueForKey(String key, Dynamic defaultValue=Undefined)
# Overrides:
primitiveValueForKey
in class RHWrapper
# reassign
function Assoc reassign(Dynamic userid)
# rename
function Assoc rename(String name)
# resetSubclass
function Void resetSubclass()
# Overrides:
resetSubclass
in class RHObject
# setDueDate
function Assoc setDueDate(Date dueDate)
# setValues
function Frame setValues(Dynamic values)
# Overrides:
setValues
in class RHObject
# status
function Integer status()
# statusVerbose
function Dynamic statusVerbose()
The behaviour of this function is based on webwork/steplistpane.html, which is the view when clicking on Step List in a workflow.
# subtype
function Integer subtype()
# subworkid
function Integer subworkid()
# subworkmapstatus
function Frame subworkmapstatus()
# taskEditFrameData
function Assoc taskEditFrameData()
# taskid
function Integer taskid()
# taskRec
function Record taskRec()
# taskStatus
function Record taskStatus()
Some API calls require a more complete record of the task. For this reason we have this call, which differs from .taskRec() due the different return values of WAPI.LoadTaskStatus()
# test
function Dynamic test()
# title
function String title()
# type
function Integer type()
# updateTask
function Assoc updateTask(Integer attribute, Dynamic value)
Attribute:
WAPI.SUBWORKTASK_TITLE WAPI.SUBWORKTASK_USERCOMMENT WAPI.SUBWORKTASK_PERFORMERID WAPI.SUBWORKTASK_USERSTATUS WAPI.SUBWORKTASK_FLAGS WAPI.SUBWORKTASK_USERDATA WAPI.SUBWORKTASK_CUSTOMDATA
# url
function String url(Boolean absolute = false, Boolean smartUI = false)
# urlAbsolute
function String urlAbsolute(Boolean smartUI = false)
# wftask
function Object wftask()
# wftask2
function Object wftask2()
# work
function Dynamic work()
# workData
function Dynamic workData()
# workflow
function Frame workflow()
# workid
function Integer workid()
# workRec
function Dynamic workRec()