
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2017 09:02 PM
Hi All,
How to copy password from the record producer of user table?
My requirement: I want to create record producer of user table.
I am able to get the all the details from record producer to user but except the password field.
Could any one has faced this type issue?
ServiceNow Commnunity MVP -2018 class.
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 09:14 PM
Hello Karthik,
To set the password from the record producer script which is on user table should be like:
current.user_password.setDisplayValue(producer.field_name);
This will create a password from the field value on record producer.
Thanks,
Surya Amara
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 09:14 PM
Hello Karthik,
To set the password from the record producer script which is on user table should be like:
current.user_password.setDisplayValue(producer.field_name);
This will create a password from the field value on record producer.
Thanks,
Surya Amara
PS: Hit like, Helpful or Correct depending on the impact of the response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 09:21 PM
Hello Surya,
Its working now. Thanks for the response.
ServiceNow Commnunity MVP -2018 class.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 02:47 AM
Hi Karthik,
Please try below mentioned code in the script section of Record Producer.
current.user_password.setDisplayValue(producer.<replace the name with variable name of password>+ '');
Please make sure you are not mapping the password with any field of sys_user table. I tried at my instance and it is working fine.
Hope this helps.
Regards
Ujjawal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 09:21 PM
Hello Ujjawal,
Its working now. Thanks for the response.
ServiceNow Commnunity MVP -2018 class.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2017 06:36 AM
Hi Karthik,
Were you able to achieve the required result by using above approach.
Regards
Ujjawal