This SAS KB article contains information about how to perform selective transaction pumping using the SAS Fraud Management Transaction Test Harness.
Add the following code to your txn.xml file above the definition for the “send” bean. The sample code below is for CSBF transaction type. Use the appropriate smh_acct_type and smh_activity_type combination for your interested transaction type.
<!-- START: Added for filtering - send only CSBF transactions -->
<bean id="sendPredicate" class="com.sas.finance.fraud.engine.client.action.PredicateList">
<constructor-arg name="operator" value="AND" />
<constructor-arg name="predicates">
<array>
<bean class="com.sas.finance.fraud.engine.client.action.FieldPredicate">
<constructor-arg name="key" value="smh_acct_type" />
<constructor-arg name="values" value="CS" />
</bean>
<bean class="com.sas.finance.fraud.engine.client.action.FieldPredicate">
<constructor-arg name="key" value="smh_activity_type" />
<constructor-arg name="values" value="BF" />
</bean>
</array>
</constructor-arg>
</bean>
<bean id="sendFilteredAction" class="com.sas.finance.fraud.engine.client.action.If">
<constructor-arg ref="sendPredicate"/>
<property name="then" ref="sendAction" />
</bean>
<!-- END: Added for filtering - send only CSBF transactions -->
Inside the “send” bean, call "sendFilteredAction" instead of "sendAction". ODE stop/start is not needed for this change to be effective.
<bean id="send" class="com.sas.finance.fraud.engine.client.tools.Pumper">
<!-- <constructor-arg name="action" ref="sendAction" /> -->
<constructor-arg name="action" ref="sendFilteredAction" />
The following screenshot shows the required changes for selective transaction pumping using the SAS Fraud Management Transaction Test Harness.