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 / addProjectRisk

Operation Information

  • Application Reference: com.hornbill.projectmanager
  • Scope: Entity - ProjectRisks
  • Class: Entity
  • Required Privilege Level: user
  • Required Rights: Group F - canCreateProjectRisks

Description

This flowcode operation creates a new project risk for the specified project.

Request Parameters

The addProjectRisk 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
projectId xs:integer Yes The project id.
risk xs:string Yes The project risk.
description xs:string No A description of the project risk.
impact xs:string Yes The impact value of the project risk, taken from the simple list. e.g. 'impact.high'
probability xs:string Yes The Probability value or the project risk, taken from the simple list. e.g. 'probability.high'
weighting xs:integer Yes The weighting of the project risk (0-100). Lowest risk being 0, highest risk being 100.
status xs:string Yes The status of the project risk. (status.confirmedRisk)
customA1 xs:string No Custom Field A1 (varchar).
customA2 xs:string No Custom Field A2 (varchar).
customA3 xs:string No Custom Field A3 (varchar).
customA4 xs:string No Custom Field A4 (varchar).
customA5 xs:string No Custom Field A5 (varchar).
projectTemplateRiskId xs:integer No The project template risk the new risk will be created from (if any).

Response Parameters

Name Type Description
outcome xs:string The outcome of the flowcode operation.
projectRiskId xs:integer The id of the new project risk.

Code Examples

In This Document