How to update field through workflow?

Ankit Kashyap
Kilo Contributor

I have created a table in which user can change their department by entering their present department and new department.

I have a requirement that when user submit the request then their manager's approval will be trigered and after  the manager's approval their department will be changed and auto updated in sys_user table.

Here is the table 

find_real_file.png

1 ACCEPTED SOLUTION

Tadz
Tera Guru
Tera Guru

Hi Ankit,

 

On what I understand, you want to update the department in sys_users table after managers approval.

You can achieve this through Run Script - workflow activity.

And a update GlideRecord.

 

Please see references.

View solution in original post

7 REPLIES 7

Hi Ankit,

Any update on this?
Can you mark answer my as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankit,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Tadz
Tera Guru
Tera Guru

Hi Ankit,

 

On what I understand, you want to update the department in sys_users table after managers approval.

You can achieve this through Run Script - workflow activity.

And a update GlideRecord.

 

Please see references.