I have a requirement in which I have to make one Field new_xyz optional and other field new_abc hidden on an existing BPF. and this workflow is extending on two Entities E1 and E2(these fields are present in E2 entity).
Actual scenario is like this: User opens E1 form fills up required fields on BPF then proceeds to next stage which in turn opens E2 form. On this E2 form, if a given field type is equal to "Private" then make above fields should be made optional\hidden. User then again fills up required fields and proceeds to next stage which in turn redirects to parent form E1.
I tried accessing the fields using header_process_XXXXXX but it is not avaible on form load.
Second approach was: I created a duplicate BPF in which i made those two fields optional\hidden and then switched the two workflows if type=="Private". It worked but now I can not see the Next stage button so that I can proceed from E2 to back to E1.
Please suggest possible Solution for this.
Thanks!