Michael Ward (cstarpgmr)
Wells Fargo

Wells Fargo
cstarpgmr Member since 2009 4 posts
Wells Fargo
Posted: March 29, 2016
Last activity: April 14, 2016
Posted: 29 Mar 2016 11:08 EDT
Last activity: 14 Apr 2016 17:30 EDT

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);
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.