diff --git a/data/avro-schema/src/main/resources/avro/net/corda/data/flow/FlowTimeout.avsc b/data/avro-schema/src/main/resources/avro/net/corda/data/flow/FlowTimeout.avsc index e11c023042..cab6bf7efd 100644 --- a/data/avro-schema/src/main/resources/avro/net/corda/data/flow/FlowTimeout.avsc +++ b/data/avro-schema/src/main/resources/avro/net/corda/data/flow/FlowTimeout.avsc @@ -9,6 +9,12 @@ "type": "string", "doc": "Key for the state record that is storing the checkpoint." }, + { + "name": "reason", + "type": "string", + "default": "", + "doc": "Optional message indicating the underlying reason about why the flow is being timed out; used as the 'errorMessage' when marking the flow as 'FAILED'." + }, { "name": "timeoutDateTime", "type": { diff --git a/gradle.properties b/gradle.properties index ed95abb1af..7ea39e04e4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ cordaProductVersion = 5.2.0 # NOTE: update this each time this module contains a breaking change ## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to ## a per module property in which case module versions can change independently. -cordaApiRevision = 30 +cordaApiRevision = 31 # Main kotlin.stdlib.default.dependency = false