Deleting Scheduled Jobs
                    Deleting Scheduled Jobs                
                            Comments
- 
            
Hi
How can we delete a schedule job? I see the action to disable it but I want to delete it from from the system.
[i]edited by Gruber on 7/16/2019[/i] - 
            
Currently, we do not have an in-built action to delete Scheduled Jobs from the UI. This can be created by performing the following steps:
- Create Datatype/Integration → Configuration Extension → Add Entity Action and Configuration → Select the JobSchedule [DecisionsFramework.ServiceLayer.Services.ScheduledJob.JobSchedule] type.
 - In the resulting Folder, click on User Actions → Create User Action.
 - Add the following step: Integration → Internal Services → ScheduledJobService → Delete.
 - Choose Select From Flow as the mapping on this step and select Entity.JobScheduleID as the input.
 
This will create a Delete action on your Scheduled Job Report. I have attached a Project for this.
[img]https://i.imgur.com/ZIegzRY.png[/img]
Another way to delete Scheduled Jobs is through SQL. Youll need to execute the following query:
DELETE FROM dbo.job_schedule
WHERE job_schedule_id = {Value}
[i]edited by kshitij@decisions.com on 7/16/2019[/i] 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions