Configuring batch (ICL) progress indicators
The progress of batches (ICLs) through the processing flow can be tracked by using progress-indicator status icons. These icons can be displayed on the batch (ICL) pages for many of the batch (ICL) states.
To configure how the batch (ICL) progress indicators are displayed, add extra parameters to the stanzas in the Transaction Server Scheduler.xml file. For each stanza where you want to monitor the progress of a state, you must specify the name of the state that is being monitored in a progressState parameter. To include a visual notification when the progress for a monitored state is taking longer than expected, also specify an expiration time interval in the corresponding progressExpiry parameter. Stanzas that use the PresentmentStatesEventHandler, or its subclasses, to cause a batch (ICL) to transition to another state can include these parameters to indicate which state is expected upon completion and how long the processing can run before it is running too long.
When an event occurs, the appropriate handlers for the type of event that occurred are called. The PresentmentStatesEventHandler first determines whether the event that occurred is defined as a trigger in the stanza. Then, it determines whether the other criteria that are specified in this event stanza matches the current state of the batches (ICLs) and transmission. If the handler determines that this event is to be handled and a message is to be placed on a queue, any states that are specified in the progressState and corresponding progressExpiry parameters are updated before to the message is placed on the queue. If an error occurs sending the message, the progress indicator is updated to show that the state is in error.
- progressState
- Specify the name of the state to be monitored. For events that can set more than one state, use multiple progressState parameters to monitor the different states. The progressState parameter can be used as a sequenced parameter. Use the explicit numbering method when expiration intervals are needed for the progress state parameters. For more information, see Using sequenced parameters.
- progressExpiry
- To display a visual notification when the progress is taking longer than expected, specify an expiration time interval for the state. The expiration interval must be specified by using the same values and formats that are used to specify the intervals for scheduler tasks. To match the expiration interval parameter to the progress state parameter for the state, use the explicit numbering method for sequenced parameters. For more information about the interval specification, see Recurring Tasks.
For balancing applications, more than one state can be set in an event stanza. To monitor both states, specify a progressState1 and a progressState2 parameter and optionally, their associated progressExpiry1 and progressExpiry2 parameters.
<EVENT>
<NAME>Risk Profile - File and Presentment States Reached</NAME>
<TYPE>PresentmentStateChange</TYPE>
<TYPE>PresentmentColumnChange</TYPE>
<TYPE>PresentmentGroupColumnChange</TYPE>
<TYPE>PresentmentGroupStateChange</TYPE>
<EXEC>com.ibm.paydir.ima.txsvr.event.appbridge.PresentmentStatesEventHandler</EXEC>
<PARAMETER name="msgType">performRiskCheck</PARAMETER>
<PARAMETER name="presStates#">!LOCKED,LOADED,!ACTIVITY_MONITORED</PARAMETER>
<PARAMETER name="condition">accepted</PARAMETER>
<PARAMETER name="group.condition">accepted</PARAMETER>
<PARAMETER name="group.states1">EXP_LIMIT_REVIEWED</PARAMETER>
<PARAMETER name="pending">N</PARAMETER>
<PARAMETER name="group.pending">N</PARAMETER>
<PARAMETER name="forwardReturn">F,D</PARAMETER>
<PARAMETER name="group.sourceId">!2</PARAMETER>
<PARAMETER name="presLevel">INB</PARAMETER>
<PARAMETER name="progressState1">ACTIVITY_MONITORED</PARAMETER>
<PARAMETER name=”progressExpiry1”>1500 msecs</PARAMETER>
<PARAMETERREF>schedulerReferenceProperties</PARAMETERREF>
<PARAMETERREF>sendToRiskManagement</PARAMETERREF>
</EVENT>
| State name | Name that is used on the batch (ICL) pages |
|---|---|
ACTIVITY_MONITORED |
Exposure Limit Checked |
ADJUSTED |
Adjusted |
AUXILIARY_EXTRACT_1 |
Auxiliary Extract 1 |
BALANCED |
Balanced |
BILLED |
Billed |
DUP_DETECTED |
Duplicate Detected |
ENTRY_ALLOCATED |
Entry Allocated |
FRAUD_DETECTION |
Fraud Detection |
ICRE_EXTRACTED |
ICRE Extracted |
ISN_ALLOCATED |
ISN Allocated |
KEYED |
Keyed |
NOC_PROCESSED |
NOC Processed |
RECONCILED |
Reconciled |
REDECORATE |
Redecorate |
REPAIRED |
Repaired |
REVIEWED |
Reviewed |
USR_STATE_FLD_1 |
User State Field 1 |
USR_STATE_FLD_2 |
User State Field 2 |
| State name | Name that is used on the batch (ICL) pages |
|---|---|
AUTH_REVIEWED |
Payment Authorization Reviewed |
DUP_REVIEWED |
Duplicate Reviewed |
FRAUD_REVIEWED |
Fraud Reviewed |
RISK_REVIEWED |
Exposure Limit Reviewed |
Examples from the reference implementation
| Name of the stanza in the scheduler file | State set |
|---|---|
| Amount Keying for out of balance work | KEYED, BALANCED |
| Adjustment - Ingestion Exceptions | ADJUSTED, BALANCED |
| Adjustment - Batch | ADJUSTED, BALANCED |
| Billing Deposit - Inbound | BILLING |
| Image Compliance Review - Transmission Group | REVIEWED |
| NOC - COR Batch Loaded | NOC_PROCESSED |
| NOC - DNE Batch Loaded | NOC_PROCESSED |
| NOC - Generate NOC | NOC_PROCESSED |
| Payment Repair - Forward Presentment | REPAIRED |
| Payment Repair - Return Presentment | REPAIRED |
| Risk Profile - States Reached Auth | AUTH_CHECKED |
| Risk Profile - File and Presentment States Reached | ACTIVITY_MONITORED |
| Risk Profile - States Reached Return | ACTIVITY_MONITORED |
| Risk Profile - Internal OFAC Risk States Reached | ACTIVITY_MONITORED |
| Risk Profile - Internal OFAC Risk States Reached Return | ACTIVITY_MONITORED |
| TCR - Batch | RECONCILED, BALANCED |