Skip to content

Commit

Permalink
Define required bpm data variables as nonNull
Browse files Browse the repository at this point in the history
  • Loading branch information
p-wunderlich committed Mar 19, 2024
1 parent 99055e5 commit e8ce38b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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 {
Expand Down

0 comments on commit e8ce38b

Please sign in to comment.