I'm venturing into dangerous territory, but am going to try my hand at some javascript. I would like to use https://alertjs.codeplex.com/ to call an on demand workflow. I have a rather complex custom solution with is tightly coupled with on demand workflows fired from business process flow stage changes but I don't want the user to ever selectively fire those using the RUN WORKFLOW button so need to hide it. However, there is one they do need to use specifically so was thinking I would use this JS.
I will need the JS to fire an on demand workflow. And I need to attach the JS to a button on the button bar.