BETA ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Hide Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes

Language Reference only
Filters: AIR 32.0 and earlier, Flash Player 32.0 and earlier, Flash Lite 4
None
Hide Filters
lc.procmgmt.domain 

Task  - AS3 ADEP Document Services

(Beta)
Packagelc.procmgmt.domain
Classpublic class Task
InheritanceTask Inheritance EventDispatcher Inheritance Object
Implements IManagedObject, IManaged

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Document Services ES2
Runtime Versions: AIR 1.0, Flash Player 9, Flash Player 10

The Task class represents a task in LiveCycle ES2. You use the Task class for the following reasons:
  • To manage the properties of the task
  • To perform operations that involve the task
  • To complete the task, which causes the process instance workflow to go to the next step

For information about using this component to customize LiveCycle Workspace ES2, see Customizing the LiveCycle Workspace ES2 User Interface .



Public Properties
 PropertyDefined By
  assignments : ListCollectionView
The collection of Assignment objects for the task.
Task
  attachments : ListCollectionView
A collection of Attachment objects for the task.
Task
  canInvokeFromStartTask : Boolean
[read-only] A flag that indicates whether the task can be used to re-initiate the same TaskManager endpoint that was used to create the task.
Task
  completeTime : Date
The date and time that the task completed.
Task
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  consultGroupId : String
The group identifier that may be used when the consult operation is performed.
Task
  createTime : Date
The date and time that the task was created.
Task
  currentAssignment : Assignment
The current assignment for the task.
Task
  deadline : Date
The date and time the task will be deadlined.
Task
  description : String
The task description.
Task
  forwardGroupId : String
The group identifier that may be used when the forward operation is performed.
Task
  instructions : String
The task instructions.
Task
  isActive : Boolean
[read-only] Returns whether the task is active based on the task status.
Task
  isDeadlined : Boolean
A flag that indicates whether the task was deadlined.
Task
  isDraft : Boolean
A flag that indicates whether the task is saved as a draft.
Task
  isInitalTask : Boolean
Deprecated Since LiveCycle ES Update 1 (8.2): Please use isInitialTask.
Task
  isInitialTask : Boolean
A flag that indicates whether the task was created from an endpoint.
Task
  isLocked : Boolean
A flag that indicates whether the task is locked.
Task
  isRouteSelectionRequired : Boolean
A flag that indicates whether a route selection is required.
Task
  isShowAttachments : Boolean
A flag that indicates whether the attachments should be available to the user.
Task
  isStartTask : Boolean
A flag that indicates whether this is a newly started task.
Task
  nextReminder : Date
The date and time the next reminder will trigger.
Task
  numForms : Number
The number of forms on the task.
Task
  numFormsToBeSaved : Number
The number of forms to be saved on the task.
Task
  priority : Number
The task's priority.
Task
  processInstance : ProcessInstance
The process instance that owns this task.
Task
  processInstanceId : Number
The identifier of the process instance object that owns this task.
Task
  processInstanceStatus : Number
The status of the process instance.
Task
  processVariables : ListCollectionView
A collection of ProcessVariable objects that are related to this task.
Task
  reminderCount : Number
The number of reminders that were issued for this task.
Task
  routeList : Array
An array of route names available for this task.
Task
  selectedRoute : String
The selected route.
Task
  serviceName : String
The name of the service.
Task
  serviceTitle : String
The title of the service.
Task
  session : SessionMap
[read-only] A SessionMap object that stores information relating to the server session.
Task
  status : Number
The task status.
Task
  stepName : String
The name of the step.
Task
  taskACL : lc.procmgmt.domain:TaskACL
The access control list for a task.
Task
  taskId : String
The task identifier.
Task
  trcVariableName : String
The task result collection variable name associated with the task.
Task
  updateTime : Date
The date and time of the last update.
Task
Public Methods
 MethodDefined By
  
Abandons the task.
Task
  
Adds an attachment to the task.
Task
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Adds a note to the task.
Task
  
Retrieves a list of TaskCommand objects that are available for execution on the task.
Task
  
Claims the task from another user or group.
Task
  
Completes the task.
Task
  
Consults with another user regarding assigned the task.
Task
  
Deletes the attachment from the task.
Task
 Inherited
Dispatches an event into the event flow.
EventDispatcher
  
Forwards the task to another user.
Task
  
Retrieves the attachment document from the task.
Task
  
Gets the completion comment(s) for the task.
Task
  
Retrieves an extended note.
Task
  
Retrieves the data for a task item.
Task
  
Retrieves the container for the task, which is useful when you want to use operations to further manage the task.
Task
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
Invokes the endpoint that created the Task object and uses the data from the current task as initial data for the task.
Task
  
Returns whether the task is an LiveCycle ES (version 8.x) task.
Task
  
Returns whether the task is a multi-user LiveCycle ES2 (version 9) task.
Task
  
Indicates whether the current user is the owner of the task.
Task
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Returns whether the task is a single user LiveCycle ES2 (version 9) task.
Task
  
Loads the assignments for the task.
Task
  
Loads the attachments for the task.
Task
  
Loads the process instance for this task.
Task
  
Loads the process variables for this task.
Task
  
Locks the task, preventing other users from claiming the task.
Task
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
Rejects the task, which will return the task to the previous assigned user.
Task
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
  
renderItem(taskItemIndex:int, params:Object = null):lc.foundation.util:ObjectToken
Retrieves a form for a task.
Task
  
Retrieves a collection of CompleteCommand objects, with one entry for each route.
Task
  
Saves task item data to the server.
Task
  
Adds a completion comment for the task.
Task
  
Specifies a new description for the task.
Task
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
Sets the SessionMap object, which stores the information relating to the server session.
Task
  
Specifies the visibility of a task.
Task
  
Shares the task with another user.
Task
  
Submits the current task item and associated data to the LiveCycle ES2 server.
Task
  
Submits the previously saved task item data to the server.
Task
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
  
Unlocks the task, which allows other users to claim the task if they have access to it.
Task
  
Updates the attachment document.
Task
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Events
 Event Summary Defined By
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited[broadcast event] Dispatched when the Flash Player or AIR application operating loses system focus and is becoming inactive.EventDispatcher
Property Detail
Method Detail