performRiskReturn
- PresentmentStateChange
- PresentmentColumnChange
- PresentmentGroupColumnChange
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandlerThis is
an example of using the PresentmentStatesEventHandler to perform risk returns:
<EVENT>
<NAME>Risk Management - States Reached</NAME>
<TYPE>PresentmentStateChange</TYPE>
<TYPE>PresentmentColumnChange</TYPE>
<TYPE>PresentmentGroupColumnChange</TYPE>
<EXEC>
com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandler
</EXEC>
<PARAMETER name="msgType">performRiskReturn</PARAMETER>
<PARAMETER name="presStates1">!LOCKED,AUTH_CHECKED</PARAMETER>
<PARAMETER name="condition">accepted</PARAMETER>
<PARAMETER name="group.condition">accepted</PARAMETER>
<PARAMETER name="pending">N</PARAMETER>
<PARAMETER name="forwardReturn">R,C</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToRiskManagement</PARAMETERREF>
</EVENT>In this example, the !LOCKED state is added so that the Risk Management engine ensures that the batch (ICL) is not locked by another application prior to performing the risk return. In addition, by adding it into the event stanza, the message is not sent if the batch (ICL) is already locked. The msgType parameter defines the type of message to send. The forwardReturn parameter defines which type, or types, of batches (ICLs) are processed for risk returns. Use R to process return batches (ICLs) and C to process contested dishonored return batches (ICLs). Forward batches (ICLs) and dishonored return batches (ICLs) should use the performRiskCheck. The PARAMETERREF elements refer to parameter sets defined elsewhere in the scheduler XML file that define the properties necessary for sending a message to the Risk Management engine. For more information about using parameter sets, see Parameter sets in the scheduler.