HR Sender set up

Modified on Wed, 06 Dec 2023 at 06:59 AM


A fully automated system for uploading your HR Imports to Wellnomics' Servers. 


General functionality: 


Both the application and scripted versions operate in much the same way, however the script allows for more flexibility in deployment. Both systems use unique pre-loaded credentials managed by Wellnomics. This account can only be used to upload CSV-UTF8 hr Import files to your Wellnomics hosting server. The HR Import file will then be auto-imported per the auto HR Import settings configured via your Wellnomics Admin site.

The uploader site is an ASP.NET site set up upon request, configured with unique hashed and salted credentials. Both the application and script use these credentials to authenticate then post the file to the site for it to be uploaded. 


Both the application and script will need access to the hr import file. 



Application: 


How it will work: 

Download the HRSender.zip provided by Wellnomics Support. Extract and place on the machine where you hold your HR Import file. In the HR Sender package is a windows batch file titled 'HrSenderLauncer.bat'. Executing the 'HRSenderLauncer.bat' file will trigger the exe to send the file specified in the batch file to the HR Import Uploader site we established, using pre-loaded, independent, credentials in the Batch file. The file will then be automatically imported at the specified time, per your auto hr import settings.

What you need to do: 
  1. Extract the full HR Sender folder on the machine you store the HR Import file on, and leave the folder intact.
  2. Edit the HRSenderLauncher.bat and insert the full pathway to the HR Import file's location.
  3. Set a scheduled task to automatically run the HRSenderLauncher.bat file at the desired date/time. (it's best to run this scheduled task several hours before the scheduled import time on the server)

**Do not remove contents of the HRSender folder, leave everything intact as it is after you Unzip it and add the file location the the HRSenderLauncher.bat file**



Powershell script: 


How it will work: 


The PowerShell script functions much the same as the application but allows for much more flexibility in deployment. It can be run from an on premise server, or an Azure automation runbook. Thanks to PowerShell you can easily store the import file in Sharepoint, a could storage location or even modify the script to generate the CSV for you to then post to Wellnomics. 

 


Using windows task scheduler create a new task with the following settings;

  1. General > Check run whether user is logged in or not 
  2. Trigger > New > On a Schedule > Select the time and frequency you want to upload HR Import Files to Wellnomics
  3. Action > New > Start a Program
    1. program/script = powershell
    2. Add Arguments = -file <pathway to the hrsender.ps1 file provided by Wellnomics Support> 
  4. Save it. 

You can communicate with Wellnomics support to run a test of the task so we can confirm it has arrived as expected. 



Requirements

The .NET 4.8 framework is required to run the application. You'll need to be sure this is installed prior to running the hr sender. You can download it directly from Microsoft 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article