This object provides methods that we can use to work with business process flows on a form. The following are some of the methods that are available under this object:
getDisplayState and setDisplayStage |
We can use these methods to find out and set the display state of a business process flow: formContext.ui.process.getDisplayState(); |
getVisible and setVisible |
We can use these methods to get and set the visibility of a business process flow: formContext.ui.process.getVisible(); |
We can use the preceding methods to show and hide the business process flow bar on the entity form.