JS Client API
  • Getting Started
  • Rule Engine Unique Functions
  • Custom Form Window Functions
  • Known Issues
  • Use Cases & Code Samples
  • Retrieving Data
    • Retrieving Standard Resources
    • Retrieving User Defined Tables
    • Retrieving Attachments
    • Retrieving Items in Transaction Scope
    • Retrieving Transaction Lines
    • ADAL
  • Updating Data
    • Adding Objects to Standard Resources
    • Updating Standard resources
    • Updating User Defined Table
    • Updating Items in Transaction Scope
    • Adding Transaction Lines
    • Removing Transaction Lines
Powered by GitBook
On this page

Was this helpful?

Custom Form Window Functions

Describes the functions that handles the custom form's user experience

This function closes the custom web form's window:

window.pepperiApp.onClose();

This function closes the custom web form's window AND cancels the workflow = returns the status to the previous one:

window.pepperiApp.onCancel();

In case you are using the workflow object (deprecated) you can use the following function to close the form and save the changes applied to the workflow object:

window.pepperiApp.onSaveAndClose();
PreviousRule Engine Unique FunctionsNextKnown Issues

Last updated 5 years ago

Was this helpful?