- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2018 09:50 AM
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
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-04-2018 10:18 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2018 10:03 AM
Hi Ankit,
you can use set value activity to set value from workflow
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2018 11:07 PM
Hi Ankur ,
could you please explain me how can i achieve that and is it possible to update other table's field using set values activity in workflow.
Thanks
Ankit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2018 03:26 AM
Hi Ankit,
To update values in other table you can make use of 'run script' avctivity.
Thanks,
vm1104
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2018 05:07 AM
Hi Ankit,
You can only use set value activity of workflow to set current table's field and not other.
for other table you need to query and update
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader