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.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 264 Administration
- 212 Portal
- 494 General Q & A
- 702 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 222 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 106 Lunch And Learn Questions