Skip to content

Tools4everBV/HelloID-Conn-SA-Full-AFAS-Nedap-CSV-Modify-Teams-Rule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

With this HelloID Service Automation Delegated Form you can add mapping rules to a CSV for Nedap. The CSV contains rules in which AFAS Organisational Units, optionally combined with AFAS jobtitles, are mapped to Nedap Teams. The following options are available:

  1. Select the mapping rule
  2. Change the mapped Nedap Teams
  3. Confirm the changes

Versioning

Version Description Date
1.0.1 Added version number and updated all-in-one script 2021/11/04
1.0.0 Initial release 2021/09/28

Table of Contents

All-in-one PowerShell setup script

The PowerShell script "createform.ps1" contains a complete PowerShell script using the HelloID API to create the complete Form including user defined variables, tasks and data sources.

Please note that this script asumes none of the required resources do exists within HelloID. The script does not contain versioning or source control

Getting started

Please follow the documentation steps on HelloID Docs in order to setup and run the All-in one Powershell Script in your own environment.

Pre-setup configuration

These forms can only be used when Nedap ONS user provisioning is provided by HelloID provisioning and AFAS is your sourcesystem. Therefore it is also necessary that the files in which the organisational units are mapped with the locations and the teams are available on the server. These mapping files can be found in the HelloID-Conn-Prov-Target-NedapONS-Users.

Be aware that using Service Automation forms can have an impact on the licenses and impact the pay-as-you-go subscriptions!

Requirements

AFAS as a sourcesystem within HelloID provisioning
Nedap ONS users as a targetsystem within HelloID provisioning
HelloID Service Automation license

Post-setup configuration

After the all-in-one PowerShell script has run and created all the required resources. The following items need to be configured according to your own environment

  1. Update the following user defined variables
Variable nameExample valueDescription
NedapOnsConnectionUrlhttps://api-staging.ons.ioNedap Environment URL
NedapOnsCertificatePassword********Nedap Certificate Password
NedapOnsCertificatePFXc:/folder/certificate.pfxFull path of the Nedap certificate on the HelloID agent server
NedapOnsTeamsMappingPathc:/folder/oucode_teamid.csvFull path of the Organisational Unit - Nedap Teams mapping file
AfasBaseUrihttps://.rest.afas.online/profitrestservicesAFAS Environment URL
AfasToken********AFAS Environment Tokencode

Manual resources

This Delegated Form uses the following resources in order to run

Powershell data source '[powershell-datasource]_NedapNedap-ons-csv-nedap-teams-teams-rules-edit'

This Powershell data source retrieves the configured mapping rules from the configured mapping file with corresponding AFAS organisational units and Nedap ONS Teams.

PowerShell data source '[powershell-datasource]_Nedap-ons-csv-nedap-teams-rules-edit'

This Powershell data source retrieves the available Nedap ONS teams from the configured environment.

PowerShell data source '[powershell-datasource]_Nedap-ons-csv-nedap-teams-teams-rules-mapped'

This Powershell data source retrieves the mapped Nedap ONS teams the configured mapping file.

Delegated form task '[task]_Nedap-ons-modify-teams-rule'

This delegated form task will modify the selected rule to the configured mapping file. Effectively it deletes the selected rule and adds a new rule.

Getting help

If you need help, feel free to ask questions on our forum

HelloID Docs

The official HelloID documentation can be found at: https://docs.helloid.com/