Announcements
No record found.
Hi,
Can anyone help me out to set active stage in Business Process Flow using javascript based on a field value.
Thanks & Regards
*This post is locked for comments
Hi try following link
msdn.microsoft.com/.../dn817878.aspx
msdn.microsoft.com/.../dn817874.aspx
Mark answer as verified, if it works for you
Refer this:
www.inogic.com/.../scripting-on-business-process-flow-in-crm-2015-part-i
I tried this, but it didn't work for me
Xrm.Page.getAttribute("stageid").setValue(guid);
I tried with above code, where only the flag is set to particular stage but the color of the stage remains same
Xrm.Page.data.process.setActiveStage(stgGUID, callbackFunction);
I tried this, callbackfunction is yielding Failure result
Xrm.Page.data.process.setActiveStage(guid, switchStageEnd);
function switchStageEnd(result)
{
if(result == "success")
alert("Yes");
}
else{
alert("No");
Hi Kavga
i have the same problem , any solution.
Thank you
regards
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.