{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "sub_types", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "ApexEmailNotifications - Metadata API", "description": "The ApexEmailNotifications type allows you to define users and email addresses that receive email for unhandled Apex errors. Flow errors can also use this metadata type.", "file_information": ".notifications", "directory_location": "apexEmailNotifications", "fields_columns": [ "type", "description" ], "fields": { "apexEmailNotification": { "type": "ApexEmailNotification", "description": "A specific Apex email notification. You can specify multiple notifications." } }, "sub_types": { "ApexEmailNotification": { "email": { "type": "string", "description": "The external email address to which the notification is sent. Mutually exclusive with the user field." }, "user": { "type": "string", "description": "The username of the Salesforce user to be notified. Mutually exclusive with the email field." } } }, "wsdl_segment": "```xml\n\n \n \n \n \n\n\n \n \n \n \n \n \n \n\n\n \n \n \n\n```", "declarative_metadata_sample_definition": [ { "description": "This sample deploys an Apex email notification that notifies a Salesforce user in the org.", "code": "\n\n \n user1@example.com\n \n" }, { "description": "This sample deploys an Apex email notification that notifies an external email address.", "code": "\n\n \n test@example.com\n \n" } ] }