Scheduled Import Not working when triggering from BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2025 11:50 PM
Hello Team,
I'm facing issue while scheduled import triggering from BR in Global Application.
BR Table : sc_req_item
BR Condition: After Insert
Please find the Business Rule Script Below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2025 10:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2025 10:39 PM
please share the details for question asked earlier
BR is running on which table and what's your actual requirement?
what debugging did you perform?
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
04-27-2025 10:56 PM
Hello @Ankur Bawiskar ,
BR is running on which table and what's your actual requirement?:
Table is (requested Item )
BR condition: After Insert
Requirement: I'm attaching attachment on catalog item and then copying that Attachment to Data source and then performing Transform on (server) table.
what debugging did you perform? I'm using log and checking the import set creation.
It's working fine for update but for insert its not working
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2025 10:58 PM
Since it's on insert of RITM, I still believe by the time the scheduled import triggers the file is not yet copied to data source and hence it's not working with insert and it works with update
You said it gets inserted with Loaded state?
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
04-25-2025 12:32 AM
Hello @shrikant Kahar1 ,
gs.executeNow() only works if the Scheduled Import is in the same application scope as your Business Rule.
If that is not the case you can try the following:
SncTriggerSynchronizer.executeNow(grImp);
Regards,
Robert