Refresh Button control

Use the control to add a button to a coach view so that users can manually refresh the contents of the view. To respond to a refresh request, the individual coach views must be configured accordingly.

To automatically refresh the controls in the view, see Refresh Controller control. To trigger the refresh of the controls in a view by using boundary events, see Service Controller control.

Restrictions and limitations

Restrictions
  • This control is not supported in Microsoft Internet Explorer 8. Support for Microsoft Internet Explorer 8 was deprecated in IBM® BPM V8.5.
  • This coach view does not use the visibility property.
  • For performance reasons, the Refresh Controller control can be disabled by the system administrator. To ensure that the contents of the coach view can be refreshed, always include the Refresh Controller, the Refresh Button, and the Service Controller controls in a coach view.
Limitations
For a coach view to be refreshed by the Refresh Button control, one of the following rules must apply to the corresponding control:
  • The control has a Refresh trigger configuration property that is wired to the variable that is bound to the Refresh Button control.
  • The control responds to boundary events from the Service Controller control.

Data binding

Set the data binding for the control in the General properties tab.

Table 1. Refresh Button data binding
Description Data type
A variable that enables the manual refresh of the contents of a coach view. When the user clicks the Refresh button, the Refresh Button control changes the value of the variable to true. Coach controls that are bound to the variable can respond to the refresh request. Boolean

Refresh behavior

When the button is clicked, the control changes the value of the bound Boolean variable from false to true. Other coach controls in the view must include a configuration property that is wired to the variable that is used by the data binding so that they can react to the refresh request. During the refresh, the value of the bound variable is reset to false.