Hi Experts,
I have created a Form which is having search inputs and Result list widget.
My requirement is to generate pdf which is having content of selected record from result list in above form.
For generating PDF i have created a stateless process and used java service activity (which hold pdf generation class file), and passing input process variables to my java class as arguments.
At run time when i select single record in result list, form arguments are passing to my java class as args[], if i select multi records in result list args[] passing to java class as last selected index values, and ignoring the fist selected row values.
For your information i am using process variables as multi value attributes.
When i click generate challan my pdf will generate process data mapping is as like below:


output in PDF for multi record selection is as below(only last selected row in result list is coming to args[])
