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.3K All Categories
- 73 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 340 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 69 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions