diff --git a/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/process/RequestApprovalProcess.kt b/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/process/RequestApprovalProcess.kt index d84f21cb..acc6d3f7 100755 --- a/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/process/RequestApprovalProcess.kt +++ b/components/approval/backend/src/main/kotlin/io/holunda/polyflow/example/process/approval/process/RequestApprovalProcess.kt @@ -10,7 +10,7 @@ object RequestApprovalProcess { const val RESOURCE = "process_approve_request.bpmn" object Variables { - val REQUEST_ID = stringVariable("request") + val REQUEST_ID = stringVariable("request").nonNull val ORIGINATOR = stringVariable("originator") val APPLICANT = stringVariable("applicant") val SUBJECT = stringVariable("subject") @@ -21,7 +21,7 @@ object RequestApprovalProcess { val AMEND_ACTION = stringVariable("amendAction") val COMMENT = stringVariable("comment") - val PROJECTION_REVISION = longVariable("projectionRevision") + val PROJECTION_REVISION = longVariable("projectionRevision").nonNull } object Elements {