Use these steps to export a full set of learner data, SDR eligible learners that will be reported in the SDR.
- Monitor and report on KPIs in the Te Pūkenga Statement of Performance Expectations
- Inform the development of Te Pūkenga strategies from 2023 and beyond
The Te Pukengta Extract can be run in two ways:
- manually from System > Import/Export
- as a scheduled process which emails the report to a recipient see Scheduled Process
1
Navigate to System > Import/Export
2
Click the action Export Te Pukenga Extract to File from the drop down.
3
Complete the required fields:
Field
Description
Reporting Year
The reporting year will default, update if required.
SC Status
SC status EA defaults, to included SC at ER click the dropdown and select ER.
4
Click Go.
Result: A long running process starts and details are displayed in the Background Processes screen. The status button is orange while the file is processing and will change to green once the extract is successful or red if the process fails to process.
This might take up to ten minutes to run.
5
Once the process has finished navigate to the Background Processes screen.
Click a file from the Outputs section, which will highlight.
6
Click Download.
Result: A csv file opens an excel spreadsheet and can be saved with filename:
sdr_enrolment_provider code_YYYY(reporting year)_YYYYMM(extract year month)
e.g. sdr_enrolment_6022_2019_202206
.
Next Step
- Check the file, where data is missing update the record in Artena and rerun the extract.
- Upload the file to Te Pukenga.
- Use the following steps to configure a scheduled process.
Scheduled Process
1. To run the script create a run_tepukengaLearnerData.cmd file.
2. Save the file in the same folder as the script (wap_artena/apps/Artena/cli/artena.tepukengaexport.php)
example:
@echo off
set PHPPATH=C:\wap_artena\wap\php\7.4.16-nts
%PHPPATH%\php.exe -c %PHPPATH%\php.ini artena.tepukengaexport.php reportingyear=2022- instcode – optional – (It will default the correct value if left blank)
- scstatus – optional – default is EA – (allowed values are EA and ER. Only use ER to include study contracts at ER status in the report)
- reporrtingyear – optional – (report will default to the current system year if left blank)
4. Navigate to the Artena Configuration File to configure the email recipients who receive the email when the script is run.
Multiple email recipients can be added, use & between each recipient email address
$cfg->tepukenga_learnerdata_email = 'PeterTest@localhost.com'Result: The script will send an email with the csv file and error logs attached.
Note: The php generates for a single year, schedule the script to be run for each year the data is required, it can be scheduled to be run more than once.
