In Exact Synergy Enterprise, there are a number of HRM processes which can be automated using a background job. This background job performs the following functions:
Note: Each of the main tasks must be scheduled separately.
Note: The NT account creation is only applicable for first time creation. Subsequently, there will not be any updates to the fields (no synchronization).
The following tables are involved when running Exact.Jobs.SysMaint:
When running Exact.Jobs.SysMaint, the background job will first check the statuses, start dates, contract end dates and inactive dates of all employees. When values are defined in these fields, appropriate actions will be taken. For example, when an employee starts working today, the job will change the status of the employee from Hired to Active. A Windows account will also be created for this employee. Where this account is created depends on the settings which can be set up via Modules ? HRM ? Setup ? General ? Settings. The password will be generated in a task for the manager of the employee.
After checking the details of the employees, the background job will then check whether there are accounts that have been granted portal access and whether there are contact persons of resellers that have been granted portal access. If there are such accounts, the background job will generate a username and a password for these new accounts. The Windows accounts will also be created in the domain specified via Modules ? HRM ? Setup ? General ? Settings.
In the case of giving portal access for customers, a task is created for the account manager with login details. An e-mail will be sent to the e-mail address of that account containing the login details. For resellers, the same applies but the first portal access is given to the main contact person. In the initial stage, a task is created for the account manager and an e-mail is sent to the main contact. After this, the main contact person is responsible for giving portal access to his colleagues.
After giving portal access to the accounts, the background job checks whether there are employees absent. This is done based on the Out of office setting in the request definition. Based on this, the background job searches for employees who are absent with this setting turned on. Then it checks the date in the requests and compares them with the current date. When these two dates match, the status for the employees is set to Out of office.
The syntax is as follows:
This results in:
This section will only focus on the BGEmployeeToActive function that involves the update statuses for the employees. The details of the other processes such as the email or NT account processes will not be included in this section.
“C:\DEV\SynergyNet258\bin\Exact.Process.exe” /DBCONFIG:SynergyEnterprise258 /ASSEMBLY:Exact.Jobs.SysMaint /CLASS:SysMaint /NT /NOPDC /NOEMPACCOUNT /IGNOREBLOCKED
Parameters
/NOPDC – If this parameter is used, the background job will attempt to create or delete the Windows user accounts even if the primary domain controller cannot be found. This option is used in the development and debugging activities when there is no access to the primary domain controller but only to a local workgroup.
/NOEMPACCOUNT – If this parameter is used, the Windows user accounts will not be created or deleted for the employees. All the other processes related to the new or exit employees will still run. This option is used in situations whereby the user want to control the creation or deletion of the Windows user accounts but want e-Synergy to handle the other administrative tasks, for example, reassignment of the subordinates of the exit employees, reassignment of the items, and others.
/IGNOREBLOCKED – If this parameter is used, the “Blocked” status of the hired resources will not be changed. Also, the “Blocked” status of the “Active” employees that have just had their Windows account created will also not be changed.
Main query to pick up the records for the process:
If /NOEMPACCOUNT is included in the background job command, it will only check against for those with humres.ldatindienst (start date) < TODAY, and status = HIRED.
Without this parameter, besides the check on the condition above, the background job will also check against the resources (employee, contractor, temporary, and student) that have been modified one day before, today, and one day after today whereby status = ACTIVE.
Together with the conditions above, the same background job will also pick up the records whereby humres.ProcessedByBackgroundJob=0.
Update process 1:
If /NOEMPACCOUNT is included, the NT Account will not be checked, and the resource status will be set to ACTIVE (humres.emp_stat = ‘A’).
Otherwise, the background job will check whether NT Account exists:
Update process 2 (run after the update process 1 above):
If /NOEMPACCOUNT is included, the background job will follow up by checking the parameter on /NOPDC:
With /NOPDC,
Without /NOPDC,
Without /NOEMPACCOUNT,
The Exact.Jobs.SysMaint background process supports the following parameters. The command line parameters are case sensitive.
/NT
Note: This parameter is mandatory when running the background jobs for user accounts. This parameter creates and stores the log information at System ? Reports ? Log ? Processes after an update (NT accounts) task is executed as explained in the following:
*xxx is a symbolic representation for the user ID of an NT account.
/NOPDC
/NOEMPACCOUNT
/FTPR:[DIRECTORY]
/FTPC:[DIRECTORY]
/FTPDIV:[001;002;003]
Note: This parameter is mandatory when running the background jobs to create or delete a customer or reseller contact person directory on the FTP server.
/FTPEXP:DAYS
/IGNOREBLOCKED
/L
/RAS
/IM
/GMForest
Note: This parameter is mandatory when running the background jobs for the role(s) in a specific forest. Only the environment with the unique group name in the specific forest is supported.
/GMDomain
Note: This parameter is mandatory when running the background jobs for the role(s) in the domain server.
/GMRole
/E
Note: This parameter is mandatory when running background jobs using Microsoft Exchange Server 2010.
/ESEURL
Note: This parameter is mandatory when running the background job to send portal messages using Word Merge.
/MAILBOXDATABASE
Note: This parameter should be used only if there is a failure in creating mailboxes (with errors) when running the background job.
/ADDisabledOnly
The relevant settings in Exact Synergy Enterprise can be accessed at Modules ? HRM ? Setup ? General ? Settings.
The settings in the sections Server and Absence determine how and where new employee entries are created and also where accounts for customers and resellers are created if given portal access. When portal access is given, you can also determine which type of request is created for the account manager and you can make the relevant adjustments in the e-mail that is sent to the account. Also, the setting under the Performance review section determines how and when performance review requests are generated. More information about the fields on the HRM: Settings page can be found in the Online Help documents for the HRM module.
The log can be checked at Modules ? System ? Reports ? Log ? Processes.