- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2019 11:14 AM
Hi ServiceNow Community,
This seems like a simple question that I hope someone can help with.
If I have a workflow attached to say, the [sys_user] table, is the workflow triggered before or after the record has been committed to the database?
The requirement I have is we integrate ServiceNow and OKTA. When a user record is inserted or specific fields are updated, I will make changes to the user's profile in OKTA using REST.
Thanks,
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2019 11:19 AM
workflow triggers post record insert/update.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2019 11:19 AM
workflow triggers post record insert/update.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2019 11:32 AM
Hi,
First of all this should not be done via workflow not a good practice to have workflow on User table.
I would Rather do this using BR and script include.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2019 05:11 AM
Thanks Ashutosh.
I appreciate the feedback. I was going back and forth about using BRs & script include or a workflow.