Finish a Business Process Flow in JavaScript
Views (3239)
Often it's required that a business process flow is moved to its next stage via JavaScript. Less often it's required that the flow is marked as finishedas well. Fortunately, an active business process flow can be set to finished using the Xrm namespace.
Xrm.Page.data.process.setStatus("finished");
An important note is that although the Microsoft documentation says to pass finish as a parameter, you must pass finished. You can also pass active or abandoned.
This was originally posted here.

Like
Report
*This post is locked for comments