getDisplayState (Client API reference)
Retrieves the display state for the business process control.
Syntax
formContext.ui.process.getDisplayState();
Return Value
Type: String.
Description: Returns "expanded" or "collapsed" on the legacy web client; returns "expanded", "collapsed", or "floating" on Unified Interface.