Documentation for a newer release is available. View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Handle Recall Request Invalid ROI received.story

Meta
+disableXsdValidation+:true

Scenario: Handling invalid resolution of investigation received

When the ⦅Recall Service⦆ sends a Send Recall To Csm Request

Then the ⦅CSM⦆ receives a Payment Cancellation Request

And ⦅Recall Service⦆ receives a Technical Response with values:
| status | SUCCESS |

And ⦅Recall Service⦆ receives a Send Recall To Csm Response

When ⦅the CSM⦆ sends an invalid Resolution Of Investigation

Then ⦅CSM⦆ receives a Payment Status Report using predicate:
| FIToFIPmtStsRpt.OrgnlGrpInf*And*Sts.GrpSts | RJCT |
| FIToFIPmtStsRpt.GrpHdr.InstgAgt.FinInstnId.BIC | ICSLGBL1 |
| FIToFIPmtStsRpt.GrpHdr.InstdAgt.FinInstnId.BIC | IPSTFRPP |
| FIToFIPmtStsRpt.OrgnlGrpInf*And*Sts.StsRsnInf.Rsn.Cd | FF01 |
| FIToFIPmtStsRpt.OrgnlGrpInf*And*Sts.StsRsnInf.Orgtr.Nm | #ResolutionOfInvestigation_headers.NETWORK_MESSAGE_ID |
| FIToFIPmtStsRpt.OrgnlGrpInf*And*Sts.OrgnlMsgNmId | camt.029 |
| FIToFIPmtStsRpt.TxInf*And*Sts | NOT_SET |

Then ⦅the Payment Service⦆ receives a System Event using predicate:
| level | ERROR |
| processingContext.associationId.value | NOTAVAILABLE |
| name | InvalidMessageReceived |
| payload.csm | RT1 |
| payload.description | Invalid Negative Recall Response Received |
| payload.rawMessage | prettyPrint(#ResolutionOfInvestigation) |
| type | FUNCTIONAL |