Hi,
Thanks for your input.
I have put together a PowerShell script which uses the code you have suggested (see below)
Import-Module Adaxes
Import-Module ActiveDirectory
$databaseHost = ""
$databaseName = ""
$databaseUsername = ""
$databasePassword = ""
employeeNumber = $Context.TargetObject.Get("EmployeeID")
When running the script from a created business rule, i get the following error:-
'employeeID' found in expression: $employeeID is not defined
This suggests that the $context.targetObject.get code isn't working, as the variable is empty.
Please advise