Skip to content

Tools4everBV/HelloID-Conn-SA-Full-AFAS-Nedap-CSV-Delete-Locations-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 delete mapping rules from a CSV for Nedap. The CSV contains rules in which AFAS Organisational Units are mapped to Nedap Locations. The following options are available:

  1. Select a rule to delete
  2. 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
NedapOnsLocationsMappingPathc:/folder/oucode_locationid.csvFull path of the Organisational Unit - Nedap Locations 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]_Nedap-ons-csv-nedap-location-rules-delete'

This Powershell data source retrieves the rules from the configured mapping file and shows which AFAS organisational units are mapped with Nedap ONS locations.

Delegated form task '[task]_Nedap-ons-delete-locations-rule'

This delegated form task will delete the selected rule from the configured mapping file.

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/