Hi,
This is my scenario.
Order system sending order details along with empty ReferenceNumber in payload, in this same flow ,i need to call "CardSystem" operation and it returns ReferenceNumber and CardConfirmation string value. To get these values we are using "Message Enricher" and we are able to stored both values in flow variables.
Here, We need to replace ReferenceNumber and add CardConfirmation variable into source payload.
How can we do without Data Weaver? Please find below inputs:
Input:
{
"Captcha": null,
"Action": "Submitted",
"ReferenceNumber": "",
"Module": "TANGORO",
"Type": "Internal",
"isprtExUserSignUp": null,
"S6Call": null,
"Function": "TREeBizAdmin",
"SourceFrom": "TREICAMProvisioning",
"PendingWorkbasket": null,
"isprtOnlyDBUpdate": "No",
"crmValues": {
"parentCustomerID": null,
"parentCustomerIDName": null,
"organizationProductNames": "GOKAMOL",
"moduleName": "TRE",
"ExternalInternalRef": null,
"isprtRp": false,
"isprtCBF": false,
"isprtCBMgmt": false,
"isprtCusdian": false,
"isprtAssetMgmt": false,
"isprtprospectiveRp": false,
"isprtcmd": false,
"isprtfabdm": false,
"isprttrevp": false,
"ReportNames": null
},
"UserInput": {
"ReferenceID": null,
"isprtDeleteAction": null,
"SAPSysID": null,
"UserGUID": "f8b6gha0-f667-e754-8105-5ghjfe0a1"
}
}
Expected Output:
{
"Captcha": null,
"Action": "Submitted",
"ReferenceNumber": "G7567RT08997", // need to replace value
"CardConfirmation": "2d6674107ebc11e7abea005056957afc", // add new value
"Module": "TRE",
"Type": "Internal",
"isprtExUserSignUp": null,
"S6Call": null,
"Function": "TREeBizAdmin",
"SourceFrom": "TREICAMProvisioning",
"PendingWorkbasket": null,
"isprtOnlyDBUpdate": "No",
"crmValues": {
"parentCustomerID": null,
"parentCustomerIDName": null,
"organizationProductNames": "GOKAMOL",
"moduleName": "TRE",
"ExternalInternalRef": null,
"isprtRp": false,
"isprtCBF": false,
"isprtCBMgmt": false,
"isprtCusdian": false,
"isprtAssetMgmt": false,
"isprtprospectiveRp": false,
"isprtcmd": false,
"isprtfabdm": false,
"isprttrevp": false,
"ReportNames": null
},
"UserInput": {
"ReferenceID": null,
"isprtDeleteAction": null,
"SAPSysID": null,
"UserGUID": "f8b6gha0-f667-e754-8105-5ghjfe0a1"
}
}
CardSystem output:
{
"ReferenceNumber": "G7567RT08997",
"CardConfirmation": "2d6674107ebc11e7abea005056957afc"
}
Can anyone help me on this ?