How to get responses of decision into scheduled job , ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2025 05:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2025 05:59 AM
need a scheduled job to remove tags from incident created before 30 days based on particular conditions ,query is written in decision table ,but scheduled job is not working on calling the decision table to get the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-03-2025 06:01 AM
you can use Decision table API to get the output
https://www.servicenow.com/community/workflow-automation-articles/populate-choices-from-a-decision-t...
https://www.servicenow.com/community/riseup-with-servicenow-blogs/how-to-use-decision-table-from-scr...
https://www.servicenow.com/community/developer-forum/decision-table-call-via-script-is-throwing-exce...
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
‎02-03-2025 06:24 AM
what can be the inputs here , as i am expecting a list of incidents which satisfies the conditions in the query from decision table . in business rule it can be sys_id of current record or something like that .. but in scheduled job hw it will be