Question

35
Views
VELLANKI Member since 2015 5 posts
Csc
Posted: 3 months ago
Last activity: 3 months 1 week ago

Issue with tools.getRequestor().queueBatchActivity and tools.getRequestor().waitOnBatchActivity();

 

Hi,

I got an issue while calling activity, AddAutoToQuote in Java code. 

Here is my Java code 

ClipboardPage sharedPage = tools.findPage("OperatorID"); List otherPages = new ArrayList(); otherPages.add(sharedPage);

ct=tools.getRequestor().queueBatchActivity("ZUR-FIG-AUI","AddAutoToQuote",tools.getParameterPage(),tools.getStepPage(),otherPages, false); myStepPage.putObject("pyObject",ct);

 

--------------Retrieval---------

 

java.lang.Object ct=myStepPage.getObject("pyObject"); try{ tools.getRequestor().waitOnBatchActivity(ct,60000);// 60 seconds of timeout }catch(PRNoSuchChildException e) { //oLog.error(" No child found "+e); } catch(PRTimeoutExpiredException et) { //oLog.error(" Thread timedout to finish "+et); }

 

When I try to pull this as a child page not getting the pyoutputpage result always showing empty. 

childpage.pyOutputPage.pyID

 

Please check the activity in the attached

Below is the Log details.

 

2020-06-18 13:55:33,247 [PegaWorkManager : 21] [  STANDARD] [   ] [FBIExpress:14.01] (ernal.async.BatchRequestorTask) ERROR  Vellanki@farmers.com - Batch activity "ZUR-FIG-AUI.AddAutoToQuote" threw: 

 

 

Can anyone please advise.

 

 

Pega Platform 8.1.7 User Interface Insurance System Architect
Share this page LinkedIn