The ID of the decision which was evaluated.
The unique key identifying the decision which was evaluate.
The name of the decision which was evaluated.
The type of the decision which was evaluated.
The version of the decision which was evaluated.
JSON document that will instantiate the result of the decision which was evaluated.
The tenant ID of the evaluated decision.
Extend the
LosslessDtoclass with your own Dto classes to enable lossless parsing of JSONint64values. These are Javalongnumbers with values that are not supported by JavaScript'sNumbertype. The SDK uses the lossless-json library to parse all JSON numbers asLosslessNumbertype. This allows us to safely parse large numbers without losing precision. Decorate fields with@Int64Stringor@BigIntValueto specify how knownint64JSON numbers should be parsed — either as a string or a bigint.Prior to Camunda 8.7, the REST API returned entity keys as
int64numbers. From 8.7, the broker returns them as strings. LosslessDtos are used to normalise this difference. It can also be used to parse large numbers in headers and variables, enabling lossless parsing of large numbers in applications that use the SDK.Example
This example is a Dto class that handles two int64 fields, decoding one as a
stringand one as abigint. It also has a child Dto field and some normal fields. The child Dto is parsed as aLosslessDto, so it can also haveint64fields. For more complex Dtos, see the implementations in the SDK.