The Now Platform® Washington DC release is live. Watch now!
‎09-25-2020 08:32 PM
‎09-28-2020 08:15 AM
‎09-28-2020 08:49 AM
Hi,
You can do this via onChange catalog client scirpt.
Select the variable name as Requested For
And UI type as ALL
write below lines of code in script field.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
//Type appropriate comment here, and begin script below
var user=g_form.getReference('requested_for',doAlert);
function doAlert(user)
{
g_form.setValue('manager',user.manager);
}
}
Thanks,
Pooja M
‎05-25-2022 04:35 AM
Hi Pooja,
I created above catalog OnChange client script but auto populating only sys_id of Manager.
‎10-06-2020 08:26 AM
Hi,
Hope you are doing good.
If you find my response as correct and worthy please mark it as correct and close the thread.
Thanks,
Pooja M