Author Message
AlexeyMartazov
Joined: Feb 4, 2014
Messages: 17
Offline
Can you tell me the best way to get the pacingType value in the custom PomJobPostProcessor class?
I only see the long way:
1.Request a list of all strategies, get the contactStrategyId by contactStrategyName.
2.Using the contactStrategyId to get strategy xml.
3.Get pacingType from xml.
Thank you
MikeMalcorINI [Avatar]

Joined: Jan 14, 2015
Messages: 72
Offline
I don't have an answer but thought I'd complicate your use case a little.
Depending on the version of POM, a supervisor has the ability to change the pacing type during the running of the campaign, meaning that whatever the strategy says may not be the actual pacing that was used over time. Just something else to consider. Have you thought about subscribing to Kafka events to gather the type of information you are looking for?
AlexeyMartazov
Joined: Feb 4, 2014
Messages: 17
Offline
Thanks for the quick response!
I'm using POM version 4.0.1.
I need to handle attempt results differently for agent and agentless campaigns.
Is there a way to find out the campaign type inside a custom PomJobPostProcessor class?
MikeMalcorINI [Avatar]

Joined: Jan 14, 2015
Messages: 72
Offline
Not that I know of. Would an option be to name the campaigns in a way that you can tell which are which?
AlexeyMartazov
Joined: Feb 4, 2014
Messages: 17
Offline
In the end I decided to just make two custom PomJobPostProcessor classes. One for campaigns with agents, the other for agentless campaigns. When setting up a campaign, the admin must choose one of two.
MikeMalcorINI [Avatar]

Joined: Jan 14, 2015
Messages: 72
Offline
Good solution, thanks for sharing.
Go to:   
Mobile view