Showing posts with label Business Process Flow. Show all posts
Showing posts with label Business Process Flow. Show all posts

Monday, July 6, 2015

XRM - Move to Next Stage in Business Process Flow

Here is the XRM code to move to next stage in Business Process Flow on desired condition. Add this code on ribbon button. If you want to add this code on Form save, then implement your logic of 'OnSave' accordingly.
Below code is using Opportunity entity. Other desired entities can be passed in successCallback function. 





function MoveNextStage(stageToMove) {

Asp.Net MVC (5) - Exception Filter - HandleError

Applicable on Asp.Net MVC5 HandleError Filter This belongs to Exception Filters category (Authentication Filter, Authoriz...