MSCRM Change Stage in Business Process Flow using javascript
There is a possibility to change the stage using Java Script based on our requirement. Here is the sample. If you are unable to find the processid and stageid, 1. Go to Advance Find 2. Add Opportunity 3.Add all columns or Process and Process Stage 4. Export to excel and find Process and Process Stage ID's Code: Xrm.Page.getAttribute("processid").setSubmitMode("always"); Xrm.Page.getAttribute("processid").setValue("35103457-a659-40c4-a07d-03a0288c8cc4"); Xrm.Page.getAttribute("stageid").setSubmitMode("always"); Xrm.Page.getAttribute("stageid").setValue("27523758-5e41-e30a-a7dd-e0b02b67b519"); //Call Entity save Xrm.Page.data.entity.save(); //Call window...