ATF - Execute ATF suites via API calls generated CICD adhoc schedule and won't delett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2025 07:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2025 05:29 AM
Hi @Daisy Huang
This actually happens when you hit ATF run API, ServiceNow actually creates an ad-hoc execution record in the table sys_atf_schedule.
This happens because APi calls test suite does not run directly instead, it queues the the run by creating an ad-hoc schedule.. The ATF runner service job then picks it up and executes it just like a background scheduled job.
That is why you see these CICD adhoc schedules entries.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2025 01:06 AM
@Shaqeel if so, then I need to create a scheduled job to clean-up those ad-hoc scheduled suites to keep the envrnioment, right?
BRs,
Daisy
