Menu
Meadow

Jenzabar One

Meadow's Jenzabar integration follows a standardized, file-based approach deployed across multiple institutions. Meadow provides template scripts (PowerShell) and SQL files that work out of the box or need minimal modification. An experienced Meadow integration specialist guides your IT team through setup.

1. Solution Overview

1.1 Implementation Scope

The integration is file-driven, using SFTP to transfer CSV files on a regular cadence, with bi-directional data flow between Jenzabar and Meadow.

Data domain Direction Method Frequency
Academic calendar SIS → Meadow Flat file Daily
Student information SIS → Meadow Flat file Daily
Charge data SIS → Meadow Flat file Every 15 minutes
Payment data Meadow → SIS Flat file Every 5 to 15 minutes

Jenzabar → Meadow. Data is exported from SQL stored procedures through scheduled tasks and PowerShell, and sent to Meadow via SFTP with key-based authentication: academic calendar, student data, and charge data.

Meadow → Jenzabar. PowerShell downloads payments from SFTP and posts them to Jenzabar using SQL stored procedures that correctly update student payment and G/L tables.

2. Data Imports Overview

3. Scheduled Task Workflows

Each task launches in the context of an AD service account, then uses Kerberos to connect to SQL Server and execute a stored procedure. This avoids storing the AD password in plain text and avoids granting extensive SQL permissions. SFTP is handled by WinSCPnet.dll via assembly binding.

3.1 Extract

Windows Task Scheduler (or another job scheduler) calls Meadow-Export.ps1 with:

The selected stored procedure runs a query and passes the results to PowerShell, which writes CSV, compresses the file, and uploads it to Meadow's SFTP. Local logs are generated and rotated for each run. Meadow has an alarm that notifies engineers if files stop arriving on the expected cadence.

3.2 Import

Task Scheduler calls Meadow-Postback.ps1 with the same config file, on a 15-minute cadence. PowerShell checks an SFTP directory for unposted payment CSVs, downloads them, and applies them via stored procedures. On success the CSV moves to the posted directory; failed attempts roll back cleanly. Logs for each attempt are posted to SFTP. Meadow has an alarm if files sit for more than 30 minutes in /payments/unposted.

4. Script Installation and Configuration

4.1 Overview

4.2 Preliminary Prep

  1. Gather config values for CreateMeadow.sql and place them in the script.
  2. Find a suitable Windows Server on which to run scheduled PowerShell tasks.
  3. Find or create an AD user with a corresponding SQL user to execute the scripts.

4.3 SQL Installation

  1. Place all provided files in a folder.
  2. Execute lines 1 to 15 of GrantPermissions.sql. Follow the additional instructions in that file.
  3. Execute CreateMeadow.sql.
  4. Create the four stored procedures by executing MeadowStudentsBaseSelect.sql, MeadowStudentProfilesSelect.sql, MeadowAcademicCalendarSelect.sql, and MeadowChargesSelect.sql.
  5. Execute lines 18 to 23 of GrantPermissions.sql.
  6. Clone config_sample_ply.json and update the values (next section).

4.4 Config File

Most lines do not need to change. Update:

4.5 Testing

In a PowerShell terminal in your working directory, run commands such as Meadow-Export.ps1 -ConfigFile config_ply.json -Command students to confirm each command works (academicCalendar, students, charges). The script supports tab completion.

4.6 Task Scheduling

Students and academic calendar

  1. Import the Upload Students, Academic Calendar.xml template.
  2. Update the AD account the task runs under.
  3. On the Actions tab, update the working directory on the existing "students" action.
  4. Save the task and verify it runs. You may need to adjust the path to PowerShell (or use bare powershell.exe).
  5. Edit the task and create another action for the "academicCalendar" command.
  6. Order the actions so prod runs first, then staging.
Task Schedule Command
Upload Students, Academic Calendar Daily powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_prod.json" -Command "students"
Upload Students, Academic Calendar Daily powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_prod.json" -Command "academicCalendar"
Upload Students, Academic Calendar Daily powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_stg.json" -Command "students"
Upload Students, Academic Calendar Daily powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_stg.json" -Command "academicCalendar"

Download payments and upload charges

  1. Import the Download Payments, Upload Charges.xml template.
  2. Update the AD account the task runs under.
  3. On the Actions tab, update the working directory on the existing "charges" action.
  4. Create another action for posting back payments: -File "Meadow-Postback.ps1" -ConfigFile "..\config_prod.json", with the working directory set to the \posting-payments subfolder.
  5. Save the task and verify it runs.
  6. Order the actions as below. Prod runs before staging, and payment post-back runs before the charge export to shorten the round trip before a payment shows in the app.
Task Schedule Command
Download Payments, Upload Charges 15 minutes powershell.exe -File "Meadow-Postback.ps1" -ConfigFile "..\config_prod.json"
Download Payments, Upload Charges 15 minutes powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_prod.json" -Command "charges"
Download Payments, Upload Charges 15 minutes powershell.exe -File "Meadow-Postback.ps1" -ConfigFile "..\config_stg.json"
Download Payments, Upload Charges 15 minutes powershell.exe -File "Meadow-Export.ps1" -ConfigFile "config_stg.json" -Command "charges"

5. Posting Back Payments

Jenzabar remains the source of truth for student account balances. A payment is not considered complete until it has been successfully posted back to Jenzabar.

  1. Payment CSV generation. When a student initiates a payment, Meadow immediately writes a payment file to SFTP with the student ID, amount, and the year and term breakout. A single payment may be split across multiple terms, oldest first, if the student owes for several terms.
  2. Payment import to Jenzabar. The scripts in your Jenzabar environment download and apply payments every 15 minutes. See 3.2 Import above.

The post-back script:

5.1 Testing and Validation

  1. Meadow initiates multiple test transactions in the staging environment.
  2. The billing office verifies the payments post correctly in Jenzabar.
  3. Meadow verifies the payments appear in new charge files (round trip).
  4. If issues arise, adjustments are made before moving forward.

5.2 Final Validation in Production

  1. Meadow runs a controlled test in production with small payments to real students to confirm payments process, funds post to student accounts, AR and folio code mappings work, and funds reach the school's bank account.
  2. The billing office confirms the test transactions are correctly reflected in Jenzabar.
  3. Once validated, Meadow is ready to go live.