You are here: Mobile > Custom mobile app > Offline capability > Supported actions while working offline

Supported actions when working offline

When creating a custom mobile app with offline capability, bear in mind that they support a limited set of actions when offline.

The actions in Pega mobile apps that are supported offline are shown in the following table:

Note: See also the Modals or overlays for local actions section below.

Display

Launch

List

  • Close
  • Expand/Collapse
  • Menu
  • Refresh
  • Set focus
  • Set style
  • Set value
  • Harness (only replace current)
  • Local action
  • Scan Barcode/QR code
  • Set focus

Process Work

Get Work

Other

  • Add new work
  • Cancel
  • Finish assignment
  • Update
  • Create work
  • Open assignment
  • Open work by handle
  • Open work item
  • Re-open work item
  • Log off
  • Run script

Local actions are also supported if they were set up from a button, link, icon or a menu. When you launch a local action:

Keep in mind the following information about menus that were configured by using the Show Menu action on controls:

Modals or overlays for local actions

You can launch a local action using a modal or an overlay while working offline. Nested overlay configuration is supported similar to the desktop case. A modal or overlay displays full screen in an app running on a mobile device. A local action is configurable at design time, for instance, for a button, icon or link, in any section in the new or perform harness. While offline, local action changes that are submitted are kept on the mobile device and eventually synchronized with the server when the application comes online.

Customized labels for modal or overlay buttons are supported in offline mode. The labels are configured on the Actions tab of a Flowaction rule form. Hiding the default buttons of a flow action is also supported. Template, button label and formats can be customized. For mobile apps, you can indicate at design-time, whether a modal or overlay should appear on a full screen or not.

Note: When configuring a local action for a full screen modal and you need to also customize the format applied to the button in the pyModalTemplate section that invokes the local action, make sure not to remove the existing Modal button array format which is configured on the dynamic layout containing the button. Overriding this format causes issues with the modal display.

You can also set the transitions for the modal or overlay initial display and closing. The transitions that are listed below are tied to CSS classes. You can configure their reveal or closing effect in the local action settings to one of the following:

Note: If no transitions are configured then the default ones will be used.