onClick override to start business process
I have the following situation :
From the "ENCOWAY SESSION" button, I want to override the onClick() method from it to automatically start a business process from there. How can I do this ?
Furthermore, my business process should take the object id (e.g. opportunity id) corresponding to the id of the record where the button is and set it as a request parameter of a webservice.
Do you have any idea on how to achieve this ?
Here is a business process model summary of what I want :