Documentation

{{docApp.title}}

{{docApp.description}}

How can we help?

{{docApp.searchError}}
{{product.name}}

Searching in {{docApp.searchFilterBySpecificBookTitle}}

{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}} in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.

You have an odd number of " characters in your search terms - each one needs closing with a matching " character!

{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}

{{docApp.libraryHomeViewProduct.description}}

  1. {{book.title}}

{{group.title || group.id}}

{{group.description}}

  1. {{book.title}}

{{group.title}}

Entity API / updateProjectTask

Operation Information

  • Application Reference: com.hornbill.projectmanager
  • Scope: Entity - ProjectTasks
  • Class: Entity
  • Required Privilege Level: user
  • Required Rights: Group E - canUpdateProjectTasks

Description

This flowcode operation updates the specified project task.

Request Parameters

The updateProjectTask API takes the following input parameters. It is important to note that the parameters must satisfy the requirement of the input validation checks.

Name Type Required Description
projectTaskId xs:integer Yes The project task id.
name xs:string No The name of the task.
description xs:string No A description of the task.
category xs:string No The category of the task.
priority xs:string No The priority of the task.
estimatedHours xs:decimal No The estimated number of hours to complete the task.
ragStatus xs:string No The project task's rag status. Accepted values are status.red, status.amber, status.green
checklists xs:string No A JSON string of checklist(s). Format is as follows: [{"name":"my first checklist","editMode":"false","items":[{"name":"item 1","editMode":"false","value":"false"},{"name":"item 2","editMode":"false","value":"false"},{"name":"item 3","editMode":"false","value":"false"}]}]
assignedTo xs:string No The user id of the task assignee.
startDate xs:dateTime No The start date of the task.
dueDate xs:dateTime No The due date of the task.
status xs:string No The status of the task. Accepted values are 'status.inPlanning', 'status.assigned', 'status.completed', or 'status.cancelled'
progress xs:integer No The progress of the task.
externalReference xs:string No An external reference for the task.
milestoneId xs:integer No The milestone id of the milestone that the task counts towards. Specify 0 to remove any existing milestone.
riskId xs:integer No The risk id of the risk that the task is related to.
dependsOnProjectTask xs:integer No The project task id of the project task that the task depends on. Specify 0 to remove any existing dependant task.
summaryTaskId xs:integer No The summary task id of the summary task that the task is related to.
notifyProjectManagerOnCompletion xs:boolean No Whether or not the project manager should receive a Hornbill notification when the task is completed. Default is false.

Response Parameters

Name Type Description
outcome xs:string The outcome of the flowcode operation.
projectTaskId xs:integer The project task id.

Code Examples

In This Document