Notifications
Announcements
Hello everyone,
I've created a business process workflow with three stages, the last stage is called 'Resolve'. I want to show the Case resolution form when users enters this stage, without having him click on the 'resolve' button. Is this possible?
Any help would be much appreciated.
Hi Irenegr,
Please, try this approach:
function OnLoad(formContext) {
formContext.data.process.addOnProcessStatusChange(statusOnChange);
}
function statusOnChange(formContext) {
status = formContext.data.process.getStatus();
if (status == "finished") {
//Write your logic here//
Thanks,
Hi,
You can associate your own handler at the last stage. Please refer the links below.
docs.microsoft.com/.../dn817878(v=crm.8)
www.powerobjects.com/.../
community.dynamics.com/.../how-to-call-javascript-function-on-finish-button-in-business-process-flow
I think the out of box Resolve button calls the function "CrmService.IncidentRibbon.CommandBarActions.resolve()" and you can call this function at the finish button.
Best Regards
PG
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 21 Super User 2025 Season 2
TAHER Mehdi 14
LightningStrikes 9