Hello Community,
I am using Dynamics 365(Version 8.2.8.15 On-Premises). I have a business process flow in quote entity with 3 stages. On second stage, there is a date field.On change of that field, I am opening a cloned copy of an existing record. Clone is working for me but my problem arises when new cloned record is opened, it opens on the 1st stage of BPF. Since I was already on the second stage of BPF while opening a cloned record, I need a new cloned record opening on the 2nd stage of the BPF.
I did try using setActiveStage,moveNext based on the articles but because of my limited JS knowledge , i am not able to achieve what I need.
Could someone tell me if it is possible to load a new record and be in the 2nd stage of a BPF? Or, Onload of a record does BPF always opens on a first stage? If its possible , could you guide me on how to achieve it?
This is the code I am using to open a new cloned record. While this record opens, I want the BPF in the second stage.

Any help would be greatly appreciated!
Thankyou.