web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / CRM Memories / Finish a Business Process F...

Finish a Business Process Flow in JavaScript

camelCaseDave Profile Picture camelCaseDave 5

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.

Comments

*This post is locked for comments