Set array as a dropdown in User Creation Process

Hello,

i was thinking about how to realize following szenario:

In the user creation process the company is chosen in the first step. As a result of this choice i want to fill the department attribute with a specific sets of departments (every other company has different department names).

I tried this but its not working (function onGetEffectivePolicy):

if ($company -eq "test"){
$array = @("123422", "test")
$Request.SetEffectivePolicyInfo("department", $Constants.EDS_EPI_UI_GENERATED_VALUE, $array)
}
}

Can you help me with this? Thanks in advance!

Regards,

Michael

Parents Reply Children
No Data