Hello,
what is you question here?
TO insert a caseId value in a BDM, just use an operation. Left part, add "myBdm", operation use "SetCaseId", right operand returns the caseId (this variable is available in the select dropbox on the top right of the Expression Editor).
Hope this help,