Manages task cloud.
assign(appName: string, taskId: string, assignee: string): Observable<TaskDetailsCloudModel>
Updates the task assignee.
string - Name of the appstring - ID of the task to update assigneestring - assignee to update current user task assigneeObservable<TaskDetailsCloudModel> - Updated task details with new assigneecanClaimTask(taskDetails: TaskDetailsCloudModel): boolean
Validate if a task can be claimed.
TaskDetailsCloudModel - task details objectboolean - Boolean value if the task can be completedcanCompleteTask(taskDetails: TaskDetailsCloudModel): boolean
Validate if a task can be completed.
TaskDetailsCloudModel - task details objectboolean - Boolean value if the task can be completedcanUnclaimTask(taskDetails: TaskDetailsCloudModel): boolean
Validate if a task can be unclaimed.
TaskDetailsCloudModel - task details objectboolean - Boolean value if the task can be completedclaimTask(appName: string, taskId: string, assignee: string): Observable<TaskDetailsCloudModel>
Claims a task for an assignee.
string - Name of the appstring - ID of the task to claimstring - User to assign the task toObservable<TaskDetailsCloudModel> - Details of the claimed taskcompleteTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>
Complete a task.
string - Name of the appstring - ID of the task to completeObservable<TaskDetailsCloudModel> - Details of the task that was completedcreateNewTask(startTaskRequest: StartTaskCloudRequestModel, appName: string): Observable<TaskDetailsCloudModel>
Creates a new standalone task.
StartTaskCloudRequestModel - string - Observable<TaskDetailsCloudModel> - Details of the newly created taskgetBasePath(appName: string): string
string - string - getCandidateGroups(appName: string, taskId: string): Observable<string[]>
Gets candidate groups of the task.
string - Name of the appstring - ID of the taskObservable<string[]> - Candidate groupsgetCandidateUsers(appName: string, taskId: string): Observable<string[]>
Gets candidate users of the task.
string - Name of the appstring - ID of the taskObservable<string[]> - Candidate usersgetPriorityLabel(priority: number): string
number - string - getProcessDefinitions(appName: string): Observable<ProcessDefinitionCloud[]>
Gets the process definitions associated with an app.
string - Name of the target appObservable<ProcessDefinitionCloud[]> - Array of process definitionsgetTaskById(appName: string, taskId: string): Observable<TaskDetailsCloudModel>
Gets details of a task.
string - Name of the appstring - ID of the task whose details you wantObservable<TaskDetailsCloudModel> - Task detailsisAssigneePropertyClickable(taskDetails: TaskDetailsCloudModel, candidateUsers: CardViewArrayItem[], candidateGroups: CardViewArrayItem[]): boolean
TaskDetailsCloudModel - CardViewArrayItem[] - CardViewArrayItem[] - boolean - isTaskEditable(taskDetails: TaskDetailsCloudModel): boolean
Validate if a task is editable.
TaskDetailsCloudModel - task details objectboolean - Boolean value if the task is editableunclaimTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>
Un-claims a task.
string - Name of the appstring - ID of the task to unclaimObservable<TaskDetailsCloudModel> - Details of the task that was unclaimedupdateTask(appName: string, taskId: string, payload: any): Observable<TaskDetailsCloudModel>
Updates the details (name, description, due date) for a task.
string - Name of the appstring - ID of the task to updateany - Data to update the taskObservable<TaskDetailsCloudModel> - Updated task detailsThe 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.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.