In Exact e-Synergy there a number of HRM processes which can be automated using a background job. The background job used for this is HrBgJobs.exe. This background job performs the following functions:
1. Edit resources, financial components and item details based on the startdate and enddate of resources:
2. Create/delete Windows user accounts
3. Create Microsoft Exchange mailboxes, if option is enabled within the e-HRM settings.4. Allow new users remote access via VPN, if option is enabled within the e-HRM settings.5. Grant users access to the Exchange Instant Messaging server, if option is enabled on the contact card of an account.6. Update the 'absent' flag in the humres table. This flag indicates whether the user is available or out of office.
7. Close the HR periods when this function is set in e-Synergy.
8. Create FTP directories for customers and resellers, if option is enabled within the e-HRM settings.
9. Add/remove the members of a certain Exact e-Synergy role to/from a certain NT domain group. This option is only applicable where a group is set in any Exact e-Synergy access role.
The following tables are involved with running the HrBgJobs background application:
When running HrBgJobs the background job will first check the status, start date, contract end date and inactive date of all employees. When values are entered in these fields appropriate action will be taken. For example when an employee has a start date of today the job will change the status of the employee from 'hired' to 'active'. Also a NT account will be created for this employee. Where this account is created depends on the settings which can be setup via [HRM > Maintenance > Setup > Settings]. The password will be generated in a task for the manager of the employee.
After checking the employees, the background job will 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 this is the case HrBgJobs will generate an username and a password for these new accounts. Also the NT accounts will be created in the domain specified via [HRM > Maintenance > Setup > Settings]. In the case of giving portal access to a customer, a task is created for the account manager with login details. Also an e-mail is sent to the e-mail address of that account containing the login details. For resellers the same applies with one difference: first portal access is given to the main contact person. This first time a task is created for the account manager and an e-mail is sent to the main contact. From that point the main contact person is responsible for giving portal access to his colleagues. Employees don't have any influence on that.
After giving portal access to the accounts the background job checks whether there are employees absent. This is done based on the setting 'Out of office' in the request definition. Based on this field the background job searches for absences 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 flag 'Out of office' is set for that employee. This means that when searching for that employee the icon for out of office is displayed as shown in the screenshot below.
When the parameter /FTP is given, the background application will check for accounts who have portal access and whether those accounts are linked to the divisions stated with the /FTPDIV parameter. If this is the case, folders will be created for those customers in the root directory of the ftp server. The name of these folders is equal to the account code.
There are quite a few specific parameters that can be used when running the HrBgJobs background application. Two of those are the mandatory parameters /S and /D. The other parameters are the following:
Implementing some of these parameters could give the following command line for the background job:
Please refer to document 07.211.289 in order to see some specific parameters which can be used for a functionality which allows you to add/delete roles from a certain NT domain group.
The screenshot below shows a part of the screen that can be accessed via [HRM > Maintenance > Setup > Settings]. These settings determine how and where new employees 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 adjust a part of the e-mail sent to the account. More information about the fields in this screen be found in this document: e-Synergy on-line manuals e-HRM: settings - server.
The screenshot below also shows a part of the screen that is accessed via [HRM > Maintenance > Setup > Settings]. These fields determine the settings used for closing the HR Periods. Closing these periods is necessary for an actual calculation of the absence entitlements. This functionality is described in detail in this document: e-Synergy on-line manuals e-HRM: settings - absence.
There are some known issues with regard to HrBgJobs for which solutions are already documented. This section describes these issues and their solutions. First of all there are some messages displayed in the process log which appear to be errors, but they are not. The log can be checked via [System > Reports > Log > Processes]. The following messages may appear:
These messages are 'Info' messages which means they are just informative and there is nothing wrong. In this case the background job indicates that there is no domain specified for employees, resellers or customers.
In the screenshot below you see an error message which is mostly caused by faulty settings in [HRM > Maintenance > Setup > Settings] screen or due to the fact that the background job has no rights to edit information in the specified domain or on the specified server.
The solution is to either check the settings via [HRM > Maintenance > Setup > Settings] and correct them if necessary or make sure the background jobs are run by a user who is administrator in the specified domain or on the specified server.
Error create user mailbox - Hector Andreu Zuriaga - -2147016656:Automation error There is no such object on the server
This error message is caused by moving the administrator account from the group 'Users' to another group on the server. When you do this, the job cannot find the administrator account nor the mailbox of the administrator account. It needs that account to perform certain operations.
31-03-2005 20:42:12 Fout HrBgJobs /S:EXACT-SVR1 /D:100 EXACT-SVR1 Error creating NT (ADS) account for customer 10150 Freewheeler, 10150 - Automation error
This error message was found when working with a two domain environment, one domain for the resources and one domain for customers and resellers. The domain for the resources was exactsoftware.com and the domain for the customers/resellers was web.exactsoftware.com . This is not a good setup for HrBgJobs.exe and renaming the second domain to web.local made creation of the accounts possible.