How to retrieve result from queueBatchActivity
Hello,
I try to use queueBatchActivity to execute some code in parallel, but i have some trouble to retrieve the result of the execution of my childrequestor.
I have try with a simple example with 2 activities :
Activity A1 :
Create Page "P1"
Initialisation with a Property-Set P1.Code = 1
Create my childrequestor with a step java on my StepPage P1(of type : "GM-FW-G2A-Data-AgendaCollectif-" )
ClipboardPage primaryPage = tools.createPage( tools.getRequestor().queueBatchActivity("GM-FW-G2A-Data-AgendaCollectif-","CalculerLigneVente", tools.getParameterPage(), primaryPage ); |
A step java :
tools.getRequestor().waitOnAllBatchActivities(); |
The a Log-Message : "TEST QUEUE " + P1.CodeEquipe
Second Activity :
Log Message "TEST QUEUE IN " + .CodeEquipe
Property-Set .CodeEquipe = 12
Log Message "TEST QUEUE IN " + .CodeEquipe
And when I run the first Activity, this is my result in the log :
TEST QUEUE GREG IN
TEST QUEUE GREG IN 2 12
TEST QUEUE 1
So i don't receive the information of my StepPageP1, and I don't return the result to my parent requestor.
Anyone have a clue ?
NB : With the paramPage I can send information to my child requestor, but same issue i can't retrieve the information after the end of the childrequestor.