alfresco-ng2-components/docs/process-services-cloud/task-header-cloud.service.md

2.2 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Task Header Cloud Service v3.0.0 Experimental 2019-01-18

Task Header Cloud Service

Manages cloud tasks.

Class members

Methods

  • claimTask(appName: string, taskId: string, assignee: string): any
    Claims a task for an assignee.
    • appName: string - Name of the app
    • taskId: string - ID of the task to claim
    • assignee: string - User to assign the task to
    • Returns any - Details of the claimed task
  • getTaskById(appName: string, taskId: string): Observable<TaskDetailsCloudModel>
    Gets details of a task.
  • unclaimTask(appName: string, taskId: string): any
    Un-claims a task.
    • appName: string - Name of the app
    • taskId: string - ID of the task to unclaim
    • Returns any - Details of the task that was unclaimed
  • updateTask(appName: string, taskId: string, updatePayload: any): any
    Updates the details (name, description, due date) for a task.
    • appName: string - Name of the app
    • taskId: string - ID of the task to update
    • updatePayload: any - Data to update the task
    • Returns any - Updated task details

Details

The methods work in much the same way as the equivalent methods in the Tasklist service but they use the cloud variants of the classes for return values. See the Tasklist service page for usage examples.

See also