{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Monitoring"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"monitoring","__idx":0},"children":["Monitoring"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Monitor sync health and troubleshoot issues using built-in logging and Salesforce tools."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"error-logs","__idx":1},"children":["Error Logs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All errors are logged to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Onboarded_Error_Log__c"]},". Create a list view or report to monitor:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Recent Errors:"]}," Filter by CreatedDate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["By Class:"]}," Group by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Class_Name__c"]}," to identify problem areas"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["By Object:"]}," Filter by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Impacted_Object__c"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Client-side errors that occur within the Lightning Web Components (Employee Onboarded, Workflow Onboarded, and the Task Row sub-component) are also captured through ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["OnboardedErrorService.logComponentError"]}," and recorded as Error Log entries."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"apex-jobs","__idx":2},"children":["Apex Jobs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Monitor batch job execution:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Environments"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Jobs"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Apex Jobs"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Filter by Job Type = \"Batch Apex\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Look for jobs starting with \"Employee\", \"Employer\", \"Task\", etc."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check Status, Items Processed, and Failures columns"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"platform-events","__idx":3},"children":["Platform Events"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The application publishes ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Onboarded_Error_Event__e"]}," platform events for real-time error monitoring. Subscribe to these events to:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Trigger alerts via Flow"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Send notifications to Slack/Teams"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create real-time dashboards"]}]}]},"headings":[{"value":"Monitoring","id":"monitoring","depth":1},{"value":"Error Logs","id":"error-logs","depth":2},{"value":"Apex Jobs","id":"apex-jobs","depth":2},{"value":"Platform Events","id":"platform-events","depth":2}],"frontmatter":{"seo":{"title":"Monitoring"}},"lastModified":"2026-05-29T01:46:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/onboarded_for_salesforce/monitoring","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}