Understand how to construct a workflow DCN with payload message.
This example illustrates data flow of a WF-DCN with payload using an SAP EIS:
The cache group policy of MBOs used in WF-DCN with payload must be DCN.
{”id”:””,”op”:”:”,”subject”:””,”to”:””,”from”:””,”read”:,”priority”:,”body”:””, “data”:[{”id”:””,”pkg”:”Package”,”messages”:[{”id”:”2”,”mbo”:”MBO”,”op”:”:upsert”, ”cols”:{”attribute1”:”value1”,”attribute2”:”value2”,”attribute3”:”value3”}}
{”id”:”1137”,”op”:”:upsert”,”subject”:”PERF0111’s Leave Request”, ”to”:”PERF0111”,”from”:”Leave Work Flow”,”read”:false,”priority”:true, ”body”:”MATCH:SUP_MWF,TaskID:TS97200149, WIID:1470577, USER:PERF0111*#END#*”, ”data”:[{”id”:”dcbtest”,”pkg”:”sup_mwf:1.2”,”messages”:[{”id”:”2”,”mbo”:”Workitem”, ”op”:”:upsert”,”cols”:{”WORKITEM”:”1470577”,”USERNAME”:”perf0111”,”DESCRIPTION”:”cc”, ”DECISION”:”test”}},{”id”:”6”,”mbo”:”Alternatives”,”op”:”:upsert”, ”cols”:{”WORKITEM”:”1470577”,”USERNAME”:”perf0111”,”PKEY”:”01”,”PVALUE”:”Ap”}}]}]}