How to Programmatically Switch the Business Process Flow in Dynamics 365
Adam Murchison, 31 May 2018
Firstly, you will want to get the Id of the process you would like the record to be updated to. The id of the process I would like to use is: 28160C53-A54C-45AC-89FB-1C0673352D2B. This id can be retrieved through the Process Designer URL as shown below.
Note: This logic will update the BPF for all leads.