Salesforce

How Do I Provide a Default Handler for My Entire Application? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Provide a Default Handler for My Entire Application? (Magic xpa 4.x)

If you want to create a Handler that will work for your entire application:

  1. Create the handler in the Main program.

  2. Set the Scope to Global.

In this example we trap the Any Error event, and log the message using the database “err” functions. If the DB error was handled by a lower-level task, this handler will never be executed.

Reference
Attachment 
Attachment