Loading
Feature degradation | Gmail Email delivery failureRead More
Program and Case Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure and Schedule Program and Benefit Summary Calculations

          Configure and Schedule Program and Benefit Summary Calculations

          To summarize program participation and benefit disbursement data, Program Management provides three Data Processing Engine definition templates. Use the Data Processing Engine to calculate attendance rates and to transform and summarize program enrollment and benefit disbursement data into new records. Clone, customize, and activate these templates. The Program Management Data Processing Engine Definitions are not scheduled to run automatically by default. To run them on a schedule, create a schedule-triggered flow.

          Required Editions

          Available in: Education Cloud, Nonprofit Cloud, and Public Sector Solutions. View edition availability.

          Program Management provides these Data Processing Engine templates:

          Aggregate Program Enrollment
          Aggregates total program enrollments and active program enrollments across all programs.
          Aggregate Benefit Assignment and Benefit Disbursement
          Aggregates total quantity of benefit assignments and disbursements per benefit for current and previous years.
          Calculate Benefit Session and Program Enrollment Attendance Rate
          Aggregates the attendance rate for benefit sessions and programs. Two versions of this template are provided, one for data executed on the CRM Analytics platform type and one for data executed on the Data 360 platform type. Use the template that was designed for how you store your Salesforce data.

          For more information about the Data Processing Engine aggregation calculations, see Benefit and Program in the Nonprofit Developer Guide.

          Clone and Activate the Program Management Data Processing Engine Definition Templates

          Preserve the original Data Processing Engine definition templates, and work with a cloned version, so that you can customize it for your specific needs.

          Required Editions

          User Permissions Needed
          To customize program management:

          Advanced Program Management permission set

          OR

          Education Cloud Full Access permission set

          To clone and activate a Data Processing Engine definition:

          Customize Application

          AND

          Modify All Data

          To create a business automation flow: Manage Flows
          To run a Data Processing Engine definition:

          Customize Application

          AND

          Modify All Data

          AND

          Data Pipelines Base User

          1. Enable data pipelines.
          2. From Setup, in the Quick Find box, enter Data Processing Engine, and then select it.
          3. Select a template.
            For example: select Aggregate Program Enrollment.
          4. Click Show more icon, and then select Save As.
          5. Enter a name and then press Tab to automatically populate the API name.
          6. Select Program Management Rollups as the process type.
          7. Save your changes and activate your definition.
          8. Similarly, clone and activate the Aggregate Benefit Assignment and Benefit Disbursement template and the Calculate Benefit Session and Program Enrollment Attendance Rate template.

          Create a Schedule-Triggered Flow to Run Data Processing Engine Jobs

          To run the Data Processing Engine definitions at regular intervals, create a schedule-triggered flow. Alternatively, skip setting up a schedule-triggered flow and manually run the definitions from the Data Processing Engine builder.

          Required Editions

          User Permissions Needed
          To customize programs and benefits:

          Advanced Program Management permission set

          OR

          Education Cloud Full Access permission set

          To manage a flow: Manage Flow app permission

          Running Data Processing Engine definitions count against the total processing time in your org. Talk to your account executive about purchasing more processing time if you anticipate that the schedule you set up is likely to exceed the total processing time you purchased. For the Aggregate Benefit Assignment and Benefit Disbursement template, create a schedule-triggered flow that uses formula resources for date data types.

          1. From Setup, in the Quick Find box, enter Flows and then select Flows.
          2. Click New Flow, and then select Schedule-Triggered Flow.
          3. Set the start date and time and frequency that it runs.
          4. Add an Action to the flow.
          5. Select the DPE template that you cloned and activated.
            For example: select Calculate Benefit Session and Program Enrollment Attendance Rate.
          6. Give the Action element a Label and API Name.
          7. For the Aggregate Benefit Assignment and Benefit Disbursement definitions, add formula resources for date data types, and use the sample formulas listed here to customize the flow.
          8. Save and activate the flow.

          The DPE template calculations will run on the schedule you set, updating and refreshing the data according to the schedule you set. To make sure that the definitions don't stop running, track your DPE usage in the Data Manager.

          To run the Aggregate Benefit Assignment and Benefit Disbursement definitions, provide the schedule-triggered flow with formula resources for date data types. You can use these sample formulas in your flow.

          Current Date
          {!$Flow.CurrentDate}
          Current Month Start Date
          DATE(YEAR({!$Flow.CurrentDate}),MONTH({!$Flow.CurrentDate}),1)
          Current Year Start Date
          DATE(YEAR({!$Flow.CurrentDate}),1,1)
          Previous Month Start Date
          IF(MONTH({!$Flow.CurrentDate})=1,DATE(YEAR({!$Flow.CurrentDate}),12,1),DATE(YEAR({!$Flow.CurrentDate}),MONTH({!$Flow.CurrentDate})-1,1))
          Previous Year Start Date
          DATE(YEAR({!$Flow.CurrentDate})-1,1,1)
           
          Loading
          Salesforce Help | Article