
Hi,
i created a BPF with any stage.
In each stay I insert a workflow that is activated when the BPF is advanced from the previous stage to the next stage from the user, clicking the button NEXT STAGE.
Inside the workflow I put the following steps:
-sharing tool from Mysdn to any kind of users
-changing assignation of the the bpf to another team
-send an email notification to the new team owner
The BPF is very smart.
The problem is that after the owner of the previous stage advance the BPF clicking on the NEXT STAGE button.
If the previous owner click SAVE button the inside the new stage the BPF is ok and he doesn't make any chancing because he isn't the owner of the new stage.
Whilst, if he click the NEXT button the BPF advance, but if he doesn't push the SAVE button (because he forgets or because he makes an error) he can clicks on the NEXT STAGE button and advance the stage also if he isn't the owner of that step.
In a few words i need that when the BPF advance in the new stage, a block function permit that only the new owner can make changing, and not the previous owner if he doesn't have click SAVE button..
-
Hi Luca-V6,
Based on your description--if he doesn't push the SAVE button (because he forgets or because he makes an error),which means that the owner cannot be changed without clicking the Save button.
Firstly, you need check if the workflow you are using is real-time workflow?
Or you can use js code to auto save/refresh form when the user move to the next stage of the BPF.
addOnStageChange (Client API reference) in model-driven apps - Power Apps | Microsoft Docs