Risk Object

Root Connection

All Risk objects of an account are accessible by a query on the root connection risks. Such a query will return a RiskConnection!, which contains the Risk objects in its nodes field.

risks (RiskConnection!)

Root connection for retrieving Risk records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter RiskFilter

Filter to determine which Risk records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [RiskOrder!]

Order of the Risk records returned.

view RiskView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying Risk records.

account (Account)

The account this record belongs to.

closedAt (ISO8601Timestamp)

The date and time at which the risk is saved with the status "Closed".

closureReason (RiskClosureReason)

The appropriate closure reason for the risk when it has been closed.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

customFields ([CustomField!])

Values of custom fields.

id (ID!)

Unique identifier of the object.

lifeCycleState (LifeCycleState)

Current state of the record.

manager (Person)

The manager of the risk. This person is able to maintain the information about the risk.

riskId (String)

The record ID as displayed in the UI

severity (String)

The severity of the risk.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

status (RiskStatus)

The current status of the risk.

subject (String)

The subject of the risk.

uiExtension (UiExtension)

UI extension that is linked to the record.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific Risk record. The actual objects will be in the nodes field of the connection.

customFieldsAttachments (AttachmentConnection)

Inline images linked to one of the custom fields.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

notes (NoteConnection)

Notes of the record.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

organizations (OrganizationConnection)

Organizations linked to the risk.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

projects (ProjectConnection)

Projects linked to the risk.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

services (ServiceConnection)

Services linked to the risk.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

Risk implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Risk.