Business Rule not working after executing scheduled file import
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:12 AM
Trying to Test one of the scenerio after Vancouver upgrade on our instance.
scenerio :- Async(insert/update) Business rule is created on sys_user table based on active changes to true, "ABC" group will be added to the user account.
While Manually updating the user record from Inactive -> Active, "ABC" group is getting added to the user account.
But when trying to update the record using scheduled file import, user record is getting updated from Inactive -> Active, but "ABC" group is not getting added.
The same scenerio is working on other environemnts which are not yet upgraded to vancouver. Not sure, if is there any issue or anything changes after the vancouver upgrade..
Any help will be really appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:25 AM
Did you check Run business rule checkbox is checked for that transform map which is doing insert/update on sys_user?
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-23-2023 01:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2023 01:32 AM
What happens if you execute the data source as an admin by manually importing?
Ensure Run AS -> System Admin in your scheduled import.
If my response helped please mark it correct and close the thread so that it benefits future readers.
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-23-2023 01:54 AM
@Ankur Bawiskar, It is working when executed the data source manually or if I reprocess the import set from related link.
Yes, Run as is already set as system admin. Its still not working when schedule file import executed.