Close Task OOB UI Action on sc_task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi,
We have OOB UI Action 'Close Task' on sc_task table. If there is only one sc_task inside the sc_req_item record, then when we click on 'Close Task' it close the current sc_task and also close the sc_req_item record and the sc_request record.
How the sc_req_item record and the sc_request item record are being closed as well? from what i see the UI Action only takes care of the current sc_task record. Is there any Business rule or Flow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
there must be some BR or flow running on sc_task which closes the RITM and REQ
did you check that?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited an hour ago
Hi @Alon Grod,
if it's the last or the only sc_task associated with the sc_req_item it will close the parent as well.
The business rules, that are responsible are called: 'SNC - Run parent workflows' and 'Close Parent if Required'
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello @Alon Grod
A Flow is configured on the Catalog Item in a way that, once the associated task is completed, stage is set to Completed. This action triggers the closure of the corresponding RITM. When the RITM is closed, the parent Request record is also closed. These are 2 business rules responsible for this.
Close Parent if Required — This Business Rule automatically closes the parent Request after the RITM is closed.
Set Active Flag — This Business Rule sets the RITM state to closed depending on the stage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Alon Grod
List of Business rules executes on closure of catalog task, here is the article - When catalog task closes what is the order of out-of-the-box bus.rules that execute on requested ite...
