We've created a few special methods to help you work with the Onboarding Provisioning Items.
These methods help you target a specific provisioning item record.
Get by Code
This string method targets a specific provisioning item record.
Find a provisioning item selected option by specifying the provisioning item code/name:
ProvisioningItems.GetByCode("Rehire/NewHire")?.SelectedOptionIf an employee has a provisioning item with the code Rehire/NewHire, this expression will return the selected option (Rehire/NewHire). If not, it will simply return null.
Has Code
This string method checks whether the employee record has a specific provisioning item.
Does the employee have a specific provisioning item record?
ProvisioningItems.HasCode("Rehire/NewHire")If the employee has a provisioning item with the code Rehire/NewHire, this expression will return true, otherwise, it will return false.
Get a list of used Codes
This string method gets a list of codes used on the employee record.
Get a list of all the employees' provisioning item codes:
ProvisioningItems.GetCodes()This will return a list of all secondary job codes used by this employee (Rehire/NewHire,RequiresNetworkAccount,DoNotProvision).
Comments
0 comments
Article is closed for comments.