---
schema_version: "1"
id: bfd1b38b3ead4292a78c58e9a7cd4b95d849a50a042dcd01108041be87aaddb2
title: Automate Alert Workflows for Earlier Versions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sfdo/264-0-0/ssh_reference_alerts_earlier_process.md
canonical_url: https://help.salesforce.com/s/articleView?id=sfdo.ssh_reference_alerts_earlier_process.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 576f1bcaede5f5db25d0395396bc82bcc473601f587d3da3a5827ecd7145e38d
description: Create the automated Alert workflow processes included in Student Success Hub.
products:
  - Nonprofit
  - Education
release: "264"
---
# Automate Alert Workflows for Earlier Versions

Create the automated Alert workflow processes included in Student Success Hub.

- **[Create the Process for Automatic Alert Resolution](https://help.salesforce.com/s/articleView?id=sfdo.ssh_reference_alerts_earlier_process.htm&release=264.0.0&type=5)**  
    If you originally installed Student Success Hub 1. 6 or earlier, you can create a workflow process to automate Alert resolution. Here's how to replicate the process included in Student Success Hub 1.7 and later.
- **[Create the Sample Process for Automatic Alert Creation](https://help.salesforce.com/s/articleView?id=sfdo.ssh_reference_alerts_earlier_process.htm&release=264.0.0&type=5)**  
    If you originally installed Student Success Hub 1.11 or earlier, you can create a sample workflow process to automate Alert creation. Here's how to replicate the process included in Student Success Hub 1.12 and later.

## Create the Process for Automatic Alert Resolution

If you originally installed Student Success Hub 1. 6 or earlier, you can create a workflow process to automate Alert resolution. Here's how to replicate the process included in Student Success Hub 1.7 and later.

1. Create the process.
    
    1. From Setup, search for and then select **Process Builder**.
    2. Click **New**.
    3. Name the process Alert Resolution.
    4. Tab to the API Name field to automatically populate the API name, Alert\_Resolution.
    5. For the Description, enter If an alert's status is closed, set Is Closed to true. If an alert's status changes from closed, set Is Closed to false.
    6. Set the process to start when **A record changes**.
    7. Click **Save**.
    8. Click the **Add Object** symbol.
    9. From the Properties, select the **Alert** object.
    10. Set the process to start **when a record is created or edited**.
    11. Save your changes.
2. Add criteria to determine whether the Alert has been closed.
    
    1. Click the **Add Criteria** symbol.
    2. Name the criteria Alert Status Is Closed.
    3. Leave **Conditions are met** selected to evaluate specified field values for the Alert record.
    4. Set two filter conditions for the process to check the \[Alert\_\_c\].Status\_\_c field—the first to check for a value of Closed: Action Taken and the second for Closed: No Action Needed.
    5. For Conditions, specify **Any of the conditions are met (OR)**.
    6. Save your changes.
3. Add the action to execute when the Alert has been closed.
    
    1. Under Immediate Actions, click **Add Action**.
    2. For the action type, select **Update Records**.
    3. Name the action Resolve Alert.
    4. For Record Type, choose **Select the Alert record that started your process**.
    5. Leave **No criteria—just update the records!** selected.
    6. Specify the Field (Is Closed), Type (Boolean), and Value (True) for Alert records to be updated.
    7. Save your changes.
4. Repeat the Add Criteria steps (Step 2 above) to add a second criteria named Alert Status Is Open. The details are similar to the first criteria, except:
    
    1. Set two filter conditions for the process to check the \[Alert\_\_c\].Status\_\_c field for a value that does not equal Closed: Action Taken and the second for a value that does not equal Closed: No Action Needed.
    2. For Conditions, specify **All of the conditions are met (AND)**.
5. Repeat the Add Action steps (Step 3 above) to add a second action named Unresolve Alert. The details are similar to the first action, except: Specify the Field (Is Closed), Type (Boolean), and Value (False) for Alert records to be updated.
6. When you're done, activate the process.

Your completed Alert Resolution process looks something like this.

![Final Alert resolution process in Process Builder](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/student_success_hub/images/ssh_alert_pb_completed.png)

## Create the Sample Process for Automatic Alert Creation

If you originally installed Student Success Hub 1.11 or earlier, you can create a sample workflow process to automate Alert creation. Here's how to replicate the process included in Student Success Hub 1.12 and later.

1. First create a global action, which is used later to specify the record type of the Alert that the sample process creates (an Academic Alert).
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/images/icon_note.png)
    
    Note We require a global action because every org has a unique ID per Alert record type. The sample process is designed to be generic enough to work across all orgs. Rather than specifying the exact record type ID in the process definition, we get the ID through the global action and make it available to the process.
    
    1. From Setup, search for and then select **Global Actions**.
    2. Click **New Action**.
    3. Specify these values:
        
        1. Action Type—Create a Record
        2. Target Object—Alert
        3. Record Type—Academic
        4. Label—Create Academic Alert
        5. Name—Create\_Academic\_Alert
        6. Create Feed Item—Leave deselected
    4. Save your changes.
    5. When the layout editor opens, add these fields to the fields already displayed on the action layout: Priority, Reason, Program Enrollment, Assign Using Active Assignment Rules, and Comments.
    6. Save your changes.
    7. On the action detail page, verify the newly created action.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/images/icon_note.png)
        
        Note Academic is one of the default Alert record types used in Student Success Hub. The sample process creates an Academic Alert. If you're using different record types than the default ones, when you create your own actual process, make sure to specify the correct record type value. And if you intend to use multiple processes to create different types of Alerts, make sure to first create multiple global actions as needed.
2. Now create the sample process.
    
    1. From Setup, search for and then select **Process Builder**.
    2. Click **New**.
    3. Name the process \[Example\] Alert Creation - GPA 2.0 Threshold.
    4. Specify the API name Alert\_Creation\_GPA\_2\_0\_Threshold.
    5. For the description, enter \[Example\] Create an academic Alert when a student's GPA drops below 2.0.
    6. Set the process to start when **A record changes**.
    7. Save your changes.
    8. Click the **Add Object** symbol.
    9. From the Properties, select the **Program Enrollment** object.
    10. Set the process to start **when a record is created or edited**.
    11. Save your changes.
3. Add criteria to determine whether a student's GPA is below the minimum threshold.
    
    1. Click the **Add Criteria** symbol.
    2. Name the criteria GPA Is Below 2.0.
    3. Select **Formula evaluates to true** for the criteria.
    4. Insert this formula:
        
        ```
        AND([hed__Program_Enrollment__c].hed__GPA__c < 2,   
        NOT(ISBLANK([hed__Program_Enrollment__c].hed__GPA__c)), OR(ISBLANK(PRIORVALUE([hed__Program_Enrollment__c].hed__GPA__c)), PRIORVALUE([hed__Program_Enrollment__c].hed__GPA__c) >= 2, AND([hed__Program_Enrollment__c].hed__GPA__c <> 0, OR(PRIORVALUE([hed__Program_Enrollment__c].hed__GPA__c) == 0, ISNEW())))) 
        ```
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/images/icon_note.png)
        
        Note
        
        This formula excludes the cases when a Program Enrollment is created with a GPA value of 0.0 or a blank value, such as for newly enrolled students. A GPA meets the criteria only if it changed from a 0.0 or blank value to a value below 2.0, or if the previous value was above 2.0 and the current value is below. You may want to include additional criteria when defining your own actual processes.
        
        For example, exclude withdrawn or graduated (inactive) students, or specify different thresholds for different student categories (undergraduate versus graduate students, by college, etc.), or also consider the values of the Alert's Status, Priority, Reason fields, as well as any custom picklist values or custom fields you've added.
    5. Click **Advanced** and select **Yes** to require that the action execute only upon relevant changes to the record.
    6. Save your changes.
4. Add the action to execute when the GPA threshold criteria are met.
    
    1. Under Immediate Actions, click **Add Action**.
    2. For the Action Type, select **Quick Actions**.
    3. Name the action Create Academic Alert.
    4. Specify that the action use the global action that you created earlier:
        
        1. Filter Search By—Global actions
        2. Type—Create a Record
        3. Action—Create\_Academic\_Alert
    5. After Process Builder locates the Create\_Academic\_Alert action, specify these field values. (The first two fields are loaded by default. Click **Add Row** to add each of the additional fields.)
        
        <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                  <colgroup>
                    <col style="width:16.666666666666664%">
                    <col style="width:16.666666666666664%">
                    <col style="width:66.66666666666666%">
                  </colgroup>
                  <thead class="slds-text-title_caps ">
                    <tr class="">
                      <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d23118e619">Field</th>
                      <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d23118e622">Type</th>
                      <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d23118e625">Value</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Student Contact</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Field Reference</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p>
                          <code>[hed__Program_Enrollment__c].hed__Contact__r.Id
                                                  </code>
                        </p>
                        <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                          <div class="slds-media slds-media_responsive">
                            <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/images/icon_note.png" alt="Note"></span></div>
                            <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> Select the Contact ID
                              on the related Contact object. Because of a known
                              issue, when you initially save the completed
                              process, the value displays as <code>[hed__Program_Enrollment__c].hed__Contact__c.Id</code>.
                              If you exit Process Builder, return to the
                              process, and hover on this field value, it
                              displays with the correct __r.</div>
                          </div>
                        </div>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Status</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Picklist</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">New</p>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Priority</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Picklist</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">Urgent</p>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Reason</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Picklist</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">Grade Concern</p>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Program Enrollment</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Field Reference</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">
                          <code>[hed__Program_Enrollment__c].Id </code>(Select
                          the Record ID.)
                        </p>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Assign Using Active
                          Assignment Rules</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Boolean</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">True</p>
                      </td>

                    </tr>
                    <tr class="">
                      <td data-label="Field" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e619 ">
                        <p style="margin-bottom:0;">Comments</p>
                      </td>

                      <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e622 ">
                        <p style="margin-bottom:0;">Formula</p>
                      </td>

                      <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d23118e625 ">
                        <p style="margin-bottom:0;">
                          <code>"GPA has
                                                  dropped to " &amp;
                                                  TEXT([hed__Program_Enrollment__c].hed__GPA__c)
                                                  &amp; "."</code>
                        </p>
                      </td>

                    </tr>
                  </tbody>
                </table>
    6. Save your changes.
5. Verify the completed sample process.
    
    ![The completed sample Alert creation process in Process Builder](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sfdo-student_success_hub-264-0-0-production-enus/b7ac11a0-381d-499e-afd5-05e856602032/student_success_hub/images/ssh_alert_pb_create_sample.png)