Button next activity

How can I configure a button that takes me directly to an activity that is not next activity in which I am?

in forms, you can add standard buttons (meaning, button that are not submit buttons). then you can add some java script or jquery to make a request through the API and get the link to the task you want. could it be a way to achieve your idea ?

Can you show me only the initial step to be able to do this. Never did.

A brief explanation.

http://community.bonitasoft.com/project/custom-javascript-example