Question

2
Replies
771
Views
cstarpgmr Member since 2009 4 posts
Wells Fargo
Posted: March 29, 2016
Last activity: April 14, 2016
Closed
Solved

multi-threading agent call to ServiceLevelEvent

Right now, we're probably limiting ourselves to only five agents running at any one time as we have not modified/overridden the "threadpoolsize" parameter.  We have sufficient horsepower to bump this up to 15, but is it also possible to multi-thread the call to ServiceLevelEvent in the agent?

try { tools.getDatabase().executeRDB(strGoalSQL.toString(), pgGoalTime); }
catch (DatabaseException e) { throw new PRAppRuntimeException("Pega-ProCom", 0, e.getMessage()); }

java.util.Iterator enum = pgGoalTime.getProperty("pxResults").iterator();
while (enum.hasNext())
{
ClipboardProperty aResultsProperty = (ClipboardProperty) enum.next();
ClipboardPage aResultsPage = aResultsProperty.getPageValue();

String strAssignHandle = aResultsPage.getString("pxInsHandle");
pega_procom_pegaprocomutilities.ServiceLevelEvent("Goal", strAssignHandle, strAssignmentClass, tools);
}

Message was edited by: Marissa Rogers Added Category

Case Management
Moderation Team has archived post
Share this page LinkedIn