Author Message
MCDeveloper
Joined: Jun 29, 2015
Messages: 66
Offline
Hi,
My customer requires that POM updates a custom table on their enterprise DB depending on the completion code.
Is there a way to trigger either a WS call or a DB update from the strategy itself after the call ends? There is no custom app here, the campaign runs the notify shipped app.

Thank you
MikeMalcorINI [Avatar]

Joined: Jan 14, 2015
Messages: 72
Offline
A couple options from the POM Users Guide - ResultProcessors - Custom Processor

Use to select the custom processor class that POM invokes for each completion code.

• Publish: If you select this option, POM publishes all results to an ActiveMQ server pom.attempt.result.topic. You can write a client program to subscribe to this topic to read the results from the JMS topic. You can have multiple clients reading results from the topic. POM provides a sample client which you can use as a reference. This sample client reads the results and writes them to a file in the Export folder. You can execute the sample client using $POM_HOME/bin/testResProcClient.sh
You can change the location of export folder from the Global Configuration page. For more information about the sample client, see Developer Guide for Proactive Outreach Manager.
POM publishes every result as an object of type PomResultInfo, comprising of:
String campaignName,int jobID, long pimSessionID, String contactID, int contactGroupID, String contactGroupName, String address, String result, String zoneName
For more information about Publish, see Application notes on Avaya Support site at http://support.avaya.com.

• Custom: If you select this option, you can specify a Java class for processing custom results. This Java class must implement the PomCustomResultProcessor interface. POM initiates this class and invokes when a result is available. The result data is passed as part of PomResultInfo parameter.
Go to:   
Mobile view