Is it possible to call servlets from an H5 implementation to trigger backend jobs, such as printing invoices and emailing PDF documents? My goal is to build an H5 view that maps the required data, and now a user has requested the ability to print an invoice. For instance, in the ARS200 > OIS680 flow, I observed in the HAR file that when a PDF document is generated (and subsequently emailed), a job is submitted—evidenced by a message like 'Job OIS681CL has been submitted' via a servlet endpoint (e.g., ).
I would like to know if I can replicate this behavior by creating a similar backend job directly from my H5 implementation. Any guidance on how to proceed would be greatly appreciated.