getFileForwardingState


Purpose

Retrieves a state of the file forwarding process.

The getFileForwardingState method informs you whether the offline case attachments support is enabled. If offline case attachments support is enabled, you can use the writeBinaryItem and addActionWithItemReference methods.

Signature

getFileForwardingState( )

Returns

This method returns a promise object, which can be in one of the following states:

  • Resolve - returns a boolean value that corresponds to the state of the forwarding process.

  • Reject - returns an object that is an instance of a generic Error class, as described below.

    {
      "name": error_code
      "message": detailed_message
    }

    Where error_code stands for one of the error codes described in the Constants section of the Client Store article and detailed_message can be an additional message from the native side.

Related topics

Client Store
setFileForwardingState
Legal notice | Copyright © 2018 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...