Coder Social home page Coder Social logo

fogra's Introduction

Fógra

fógra, m. (gs. ~, pl. ~í). 1.FÓGAIRT 2. Notice. (a)~ a thabhairt (go), to give notice (that).

Alerts for CRM Analytics Dataflow and Recipe Failures

Use scheduled Apex to query the CRM Analytics dataflow job resources REST resource, and create a platform event.

Analytics on Dataflow and Recipe run times

Analytics about analytics! Stores the data retrieved from the dataflow job resources so you can track performance over time.

Simple instructions

  • Assign the Dataflow Job History Admin permission set
  • Execute anonymous apex, for example, to schedule the monitor to run every 30 minutes:
String schedule = '0 30 * * * ?';//every 30 mins
System.Schedule('FetchDataflowJobDetails',schedule,new AnalyticsMonitor());
  • Navigate to the Dataflow Job History folder under the Dashboards tab
  • Review the Dataflow Job Failure object under Setup - Integration - Platform Events
  • Decide whether to use Apex or Flows to create cases, send multiple e-mails, or in-app notifications to alert multiple stakeholders about failed jobs.

TODO

  • Less lazy query of dataflowjobs -- filter on job created or or executed date and compare against last known schedule query
  • better handling of the Message property -- some messages are closer to warnings i.e. the job failed because it's already in the queue -- if the message contains 'Error Id', 'Internal Server Error' or 'Java', recommend a Salesforce support case is logged
  • managed package for better admin support

Preview

image

fogra's People

Contributors

seamusocionnaigh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.