Welcome to the Alfresco Builder Network

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

Interested in trying Alfresco?

Try Now