Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tools4everbv/helloid-conn-prov-target-adpworkforce-update-email
ADP Workforce - Target
https://github.com/tools4everbv/helloid-conn-prov-target-adpworkforce-update-email
hrm provisioning target
Last synced: about 14 hours ago
JSON representation
ADP Workforce - Target
- Host: GitHub
- URL: https://github.com/tools4everbv/helloid-conn-prov-target-adpworkforce-update-email
- Owner: Tools4everBV
- Created: 2021-12-07T12:58:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T12:03:45.000Z (7 months ago)
- Last Synced: 2024-11-10T22:34:33.436Z (about 2 months ago)
- Topics: hrm, provisioning, target
- Language: PowerShell
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HelloID-Conn-Prov-Target-ADPWorkforce-UpdateEmail
| :warning: Warning |
|:---------------------------|
| This script is for the new powershell connector. Make sure to use the mapping and correlation keys like mentionded in this readme. For more information, please read our [documentation](https://docs.helloid.com/en/provisioning/target-systems/powershell-v2-target-systems.html)| :information_source: Information |
|:---------------------------|
| This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements. |
## Table of contents
- [Introduction](#Introduction)
- [Getting started](#Getting-started)
+ [Connection settings](#Connection-settings)
+ [Prerequisites](#Prerequisites)
+ [Remarks](#Remarks)
- [Getting help](#Getting-help)
- [HelloID Docs](#HelloID-docs)## Introduction
_HelloID-Conn-Prov-Target-ADPWorkforce-UpdateEmail_ is a _target_ connector. ADP Workforce provides a set of REST API's that allow you to programmatically interact with it's data.
> This connector only updates the email address for a worker and makes use of a specific event to the ADP API's
## Getting started
Note that this connector only updates the email address for a worker. The _create.ps1_ does not create accounts but merely correlates a HelloID person with an ADP Workforce worker.
### Connection settings
The following settings are required to connect to the ADP Workforce:
| Setting | Description | Mandatory |
| ------------ | ----------- | ----------- |
| BaseUrl | The BaseUrl to the ADP Workforce environment | Yes |
| ClientID | The ClientID for the ADP Workforce environment. This will be provided by ADP | Yes |
| ClientSecret | The ClientSecret for the ADP Workforce environment. This will be provided by ADP | Yes |
| CertificatePath | The location to the 'private key of the x.509 certificate' on the server where the HelloID agent and provisioning agent are running. Make sure to use the private key for the certificate that's used to generate a ClientID and ClientSecret and for activating the required API's | Yes |
| CertificatePassword | The password for the *.pfx certificate | Yes |
| Toggle debug logging | When toggled, debug logging will be displayed | No |### Prerequisites
- Windows PowerShell 5.1 installed on the server where the 'HelloID agent and provisioning agent' are running.
- The public key *.pfx certificate belonging to the X.509 certificate that's used to activate the required API's.
- The password for the public key *.pfx certificate.
- The 'Execute on-premises' switch on the 'System' tab is toggled.
- Additional rights to worker.businesscommunication.email.change
> The emailaddress is updated using a POST call to: https://api.eu.adp.com/events/hr/v1/worker.businesscommunication.email.change. additional rights to this endpoint is required and should be requested by the customer at customer support of ADP.
#### X.509 certificate / public key
To obtain access to the ADP Workforce API's, a x.509 certificate is needed. This certificate has to be created by the customer.
The public key belonging to the certificate, must be send ADP. ADP will then generate a ClientID and ClientSecret and will activate the required API's.
### Remarks
### Correlation
It is mandatory to enable the correlation in the correlation tab. The default value for "person correlation field" is " Custom.AssociateOID ". The default value for "Account Correlation field" is "AssociateOID".#### create.ps1
The `create.ps1` does not create accounts but merely correlates a HelloID person with a ADP Worker and updates the emailaddress if nessecarry.
#### CustomField `Custom.AssociateOID`
This connector uses the `Custom.AssociateOID` field from HelloID. This field must be created and mapped in the HelloID ADP Workforce source connector.
### Mapping
The mandatory and recommended field mapping is listed below. An export of the mapping can be found in MappingADPWorkforceUpdateEmail.json.| Name | Create | Enable | Update | Disable | Delete | Store in account data | Used in Notification | Default mapping | Mandatory | Comment |
| -------------- | ------ | ------ | ------ | ------- | ------ | ------ | --------------------- | ------------------------------------------ | --------- | ---------------------------------------------- |
| AssociateOID | X | | X | | | No | No | Custom.AssociateOID | Yes | AssociateOID from ADP |
| workerEmail | X | | X | | | No | No| Emailaddress generated | Yes | Generated email address |
| workerId | X | | X | | | Yes | Yes | ExternalID | Yes | ExternalID from person |
#### EmailAddress
This connector is meant to update the emailAddress for a worker in ADP Workforce
## Getting help
> _For more information on how to configure a HelloID PowerShell connector, please refer to our [documentation](https://docs.helloid.com/hc/en-us/articles/360012558020-Configure-a-custom-PowerShell-target-system) pages_
> _If you need help, feel free to ask questions on our [forum](https://forum.helloid.com)_
## HelloID docs
The official HelloID documentation can be found at: https://docs.helloid.com/