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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions