Business Rule not working after executing scheduled file import

Swapnil_22
Tera Contributor

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!

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Swapnil_22 

Did you check Run business rule checkbox is checked for that transform map which is doing insert/update on sys_user?

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

Hi @Ankur Bawiskar ,

Yes run br checkbox is tick on the transform map.

Regards,

Swapnil

@Swapnil_22 

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.

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

@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.