Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Packaging a signature after the work object is resolved

Updated on April 27, 2022

For offline-enabled applications, signatures are removed by default from the client store after the work object is resolved. If an offline-enabled application contains a Signature Capture control that must be packaged and previewed, the pyIsWorkSignatureRequired when rule for the @baseclass class must be set to true.

If this is not done, the delta synchronization process is optimized and signatures cannot be previewed after the work object is resolved. You can set this when rule to false, the default setting, if the offline-enabled application does not use Signature Capture controls.

To show the captured signature in the Review harness after the work object is resolved, perform the following steps:

  1. Set the pyIsWorkSignatureRequired when rule condition to true.
  2. Create and load a data page with the last resolved work item by an operator. The new data page must have:
    • A List structure.
    • Mode set to Read Only.
    • Scope set to Thread.
    • The Data Page Refresh strategy set to Reload once per interaction.

    For example, when you create the D_FetchWorkData data page that is loaded by the LoadWorkData activity that was created in the Code-Pega-List class, this data page must include the last resolved work item by the operator.

  3. Add the name of the data page that you created in step 2 to the pyDataPageSignatureBlackList rule, which lists the data page names.
  • Offline-supported controls

    Offline-enabled mobile apps only support a specific set of UI controls.

  • Attach content support in offline mode

    You can attach content to an offline-enabled application when you are not connected to the network. Specifically, while working in offline mode, you can attach any type of file from the device storage available from the device's native file picker component, for example, built-in image, video, or audio gallery. You can also attach content while working in offline from any mobile app that is installed on the device, for example, Audio Recorder or Camera.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us