Testing steps
After creating a script, switch on debug mode to test it. When done testing, debug mode can be switched off. .
-
Create a new custom script with these parameters:
- Script name
- Custom Processor Sample
- Description
- Custom Processor Sample
- Script type
- employee-import-processor
- Copy and paste the Employee Import Processor script.
- Navigate to Maintenance > System Administration > Interfaces > Interface Layouts.
-
For the EMPLOYEE INTERFACE layout, click
Edit.
- Add the new script you created under Interface Processors.
- Reorder the processors. Note: Scripts that change context data must be performed before CORE PROCESSOR. To avoid issues while changing the order of execution, you should for example, first assign 3 to Execution Order to core processor and then individually set the correct values.
-
Navigate to Maintenance > System Administration > Job Scheduler and run the Employee Import/Interface job.
Sample CSV import file:
01/01/2021,1/1/2024,90000,Kurek,Adam,1/1/2020,1/1/2020,1/1/3000,A,123457,1/1/1995,,,,,,,,,akurek,,,,,,,,,,CASHIER,,,,P1,
- Confirm that the import was successful and that the values from the script were set correctly.