Posted: 16 Nov 2020 5:38 EST Last activity: 17 Nov 2020 9:42 EST
To call an Activity asynchronously using queueBatchActivity API throwing Error
We would like to call PEGA Activity asynchronously from another Activity. We have tried the following options. But both are not working.
Approach#1: We have used the queueBatchActivity API to call the Activity asynchronously using Java code
Approach#2:We have used the Queue method available in Activity to call ELKLog activity asynchronously (pass current parameter checkbox selected)
We would like to call PEGA Activity asynchronously from another Activity. We have used the queueBatchActivity API to call the Activity asynchronously using Java code
Sample Java code used to call the asynchronous activity ELKLog available in baseclass usign queueBatchActivity API method.
For Approach2, we have enabled the 'Asynchronous Activity' event type in Tracer. From the tracer results, we could see activity is queued. But we don't see the queued activity steps execution & activity results.
Thank you for looking into this. Yes, there were few pre-conditions & removed now. We could see the ELKLog activity is queued from the Tracer. However, my issue is still exists (I am also tracing the ELKLog activity. There is no Evidence of ELKLog activity execution in tracer and/or from the execution results)
You should be able to click on the 'Queue Activity' link in the green highlighted row to open another window that shows the queued activity. If it doesn't open, you might need to check the pop up blocker settings in the browser.