I was wondering how I could retrieve the active stage of the current active BPF process (preferably without code) from its base entity. I am looking for a solution sort of like the deprecated stageid and traversed path fields.
I have tried using a workflow triggered on each stage entry of the BPF to set the value of an option set on the base entity but every now and then the option set value will be incorrect (I still have no idea why).
I was thinking I could add a field to the base entity which is a lookup to the BPF entity. The lookup value would be set via workflow that triggers whenever a BPF is created. However, I am hesitant to do this because I am not sure if it is a best practice.