The challenge: Facilitators can only grade work that was submitted. Missing assignments need both a follow-up and a way to record an outcome.

What this does: It adds two buttons to the activity page for your ministry LMS admins, so they decide when each one is needed. (Screenshot 1)

  • Send Course Reminders appears when the assignment has a due date. It emails the students who haven’t completed it.
  • Fail & Notify Students appears after the due date passes. It emails the students who never submitted and records a non-passing grade for them, so the admin can close out the assignment.

The benefit: Students get a prompt to finish, and admins can resolve missing work with an accurate grade. Each student also gets a secure link in the email that takes them straight back to the activity, with no separate login step.

What’s included

ItemWhat it does
Learning Class Activity Reminder (workflow)Finds students without a completion record, prepares the email, lets the admin edit it, then sends it.
Create Failed Learning Class Activity Completion & Notify (workflow)Does the same for students who never submitted, and also creates a completion record with a non-passing grade. If there are no students to process, it ends without doing anything.
Send LMS Reminder Email Notifications (workflow)A helper that both workflows use. It personalizes the message and builds the secure return link.
Two System Communication templatesThe email layout for the reminder and for the failed-assignment notice.
HTML blockShows the two buttons on the activity page.

Step 1: Create the two email templates

Go to Settings > Communications > System Communications and create two templates. They are the same except for the title (screenshots 2 and 3). Both use your site’s standard email header and footer.

SettingValue
TitlesLearning Class Activity Reminder and Failed Learning Assessment Notification
CategoryLearning Management
From NameYour organization’s name
ToLeave blank
Subject{{ Workflow | Attribute:'EmailSubject' }}

Message Body:

{{ 'Global' | Attribute:'EmailHeader' }}

{{ Workflow | Attribute:'EmailContent' }}
<br><br>
<p style="text-align:center;">{{ Workflow | Attribute:'ReturnUrl' }}</p>

{{ 'Global' | Attribute:'EmailFooter' }}

Step 2: Import the workflows

From the Workflow Configuration page, import the files in this order, so the helper exists before the workflows that use it:

  1. Send LMS Reminder Email Notifications.json (the helper)
  2. Learning Class Activity Reminder.json
  3. Create Failed Learning Class Activity Completion and Notify.json

Step 3: Connect the helper to your templates

Open the helper workflow and its Send Notification activity. In the action Class Reminder Communication Template, select your reminder template. In Failed Activity Communication Template, select your failed-assignment template.

Step 4: Point both workflows at your helper

Each of the two workflows starts the helper by its ID number, and that number is different on every site. In each of them, open the Get Learning Participants and Send Reminders action and replace every 1764 in the Lava with the ID of your imported helper workflow. You can see a workflow’s ID in its header on the Workflow Configuration page. If you skip this step, no emails are sent.

Step 5: Add the buttons to the activity page

Add an HTML Content block to the page where admins view an assignment (the program assignment page), and paste in the code below. Set the two workflow ID variables at the top to the IDs of your imported Learning Class Activity Reminder and Create Failed Learning Class Activity Completion & Notify workflows. The block also needs the learningclassactivity Lava command enabled in its Enabled Lava Commands setting.

{% lava
    assign learningClassActivityId = 'Global' | PageParameter:'LearningClassActivityId' | FromIdHash

    //- Replace these with the Workflow Type Ids from YOUR Rock after importing the workflows.
    assign reminderWorkflowTypeId = 1761
    assign failAndNotifyWorkflowTypeId = 1765

    assign applicationRoot = 'Global' | Attribute:'PublicApplicationRoot'
%}

//- This page is also used when adding new Activities to a Class, so only run when an Activity exists.
{% if learningClassActivityId != null and learningClassActivityId != empty %}

    {% learningclassactivity where:'Id == {{ learningClassActivityId }}' iterator:'activity' select:'new ( DueDateDefault  AS DueDate )' securityenabled:false %}
        {% assign activity = activity | ToJSON %}
    {% endlearningclassactivity %}
    {% assign activityObject = activity | FromJSON %}

    //- Compare dates as yyyyMMdd numbers. Comparing 'M/dd/yyyy' text sorts alphabetically ("11/5/2026" < "9/30/2026").
    {% assign dueDateText = activityObject[0].DueDate | Date:'yyyyMMdd' %}
    {% assign hasDueDate = false %}
    {% assign isPastDue = false %}

    {% if dueDateText != empty and dueDateText != null %}
        {% assign hasDueDate = true %}
        {% assign dueDateNumber = dueDateText | AsInteger %}
        {% assign todayNumber = 'Now' | Date:'yyyyMMdd' | AsInteger %}
        {% if todayNumber > dueDateNumber %}
            {% assign isPastDue = true %}
        {% endif %}
    {% endif %}

    <div class="mb-4">
        {% if hasDueDate %}
        <a class="btn btn-primary btn-md" href="{{ applicationRoot }}WorkflowEntry/{{ reminderWorkflowTypeId }}?LearningClassActivityId={{ learningClassActivityId }}" title="Send Reminder">
            <i class="fa fa-bell"></i>&nbsp; Send Course Reminders
        </a>
        {% endif %}
        {% if isPastDue %}
        <a class="btn btn-primary btn-md" href="{{ applicationRoot }}WorkflowEntry/{{ failAndNotifyWorkflowTypeId }}?LearningClassActivityId={{ learningClassActivityId }}" title="Notify Student">
            <i class="fa fa-flag"></i>&nbsp; Fail &amp; Notify Students
        </a>
        {% endif %}
    </div>
{% endif %}

How it works

  1. The buttons are manual, so each admin decides when a reminder would help and when it’s time to record an outcome. The reminder button shows only if the assignment has a due date. The fail button shows after that date.
  2. Clicking one starts its workflow. It gathers the assignment details and finds students without a completion record.
  3. It prepares the subject and message and shows them to the admin on a form. The admin can edit them and send.
  4. The helper workflow sends one personalized email per student, using the template from Step 1.
  5. For the fail button only, the workflow also creates a completion record with a non-passing grade for each student who never submitted.

Good to know

  • Test on one class with a test student first, especially the fail button, because it records grades.
  • The emails can include a secure link that signs the student in. Send them only to the right students, and restrict the buttons to your LMS admins.
  • Both workflows are meant to be adapted. The message, subject and who is selected are all in the workflow.