Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Hi, I am facing an issue on the change stage of BPF.
My scenario is: I'm making an approval process using BPF. So I want to move stages and update BPF accordingly. So for instance, there are 2 Persons involved in the approval process. Person A and B. Now if A approves (approval is an option set) then the stage moves to the next stage and Person B is now responsible for the approval. Now if person B rejects, then the stage would reset to the starting stage i.e. person A's stage. Now the problem is, we are setting the active stage after checking if the person B's approval optionset is set to rejected, and then saving the form explicitly. So what it does now is we have to click 2 times in order to make the expected change. We are doing this in JS and using addOnPreStageChange() and we are preventing the default behavior which moves it to next stage. Kindly refer to the code and screenshots below for better understanding.
var formContext = executionContext.getFormContext();
Business Applications communities