11
NOTE: This requires the property to be stored as a Session property value, so be
sure to configure the property accordingly if this is your intended use.
Using the HCM Workflow Script
This script uses the employee ID. If desired, you can also provide an email address
type. When the script runs, the specified email address is set to a property value,
which you can then copy to a keyword value, or use in another manner.
Certain values are required for the script to retrieve the desired email address:
• Employee ID (keyword value, or if no keyword value exists, the EmployeeID
property value can be used instead)
• EmailAddressType (property, optional input)
• UnityScriptResult (property, output)
• ScriptError (property, output)
• EmailAddress (property, output)
If no email address type is specified, the output will be the person’s preferred email
address.
When setting any property values to run a script, be sure to note which property bag
is being used and be consistent with this selection.
Set Property Values Needed for Script
Create an action and choose the Set Multiple Property Values action type.