Auto-populate user id in catalog item variable

Akshay Pundeer
Tera Contributor

I have created three variables On catalog item. employee _name. employee _id. employee _email.

Employee _name is a reference field with sys _user table.

I want to auto-populate user_id in employee _id and email in employee _email when a user is selected in the employee_name variable.