I have a purpose to create a trigger which will be invoked after checkbox usage on the document
This trigger has to call the jar with parameters like (user who hit apply button on the document, id of that document)
Can you give me an idea of how this should be implemented
In a trigger you can call any java class / command, such das runprocess.
You shall look for: "How to Run a Shell Command in Java" in the internet.