0

I am trying to restrict user from manually selecting the business process stage.

I have already hidden all buttons (Next Stage, Finish, Previous Stage etc), using following,

document.getElementById("processActionsContainer");

Now I also want to restrict manual selection of stages of BPF. How can I achieve that?

Faran Saleem
  • 404
  • 1
  • 7
  • 31

1 Answers1

0

This is not how you restrict buttons in Dynamics. In fact document.getElementById is not allowed in dynamics itself. It is deprecated.

The way you are trying to limit stage change is not possible.

But the alternate way to achieve this is with Workflow. For a Process to move from A to B will only happen when some fields are fields or some data is entered or some condition is matched. Have a look at these articles which will give you more idea to perform your task.

Link 1

Link 2

Link 3

AnkUser
  • 5,421
  • 2
  • 9
  • 25