An errant process has dumped thousands of file into an FTP site with an FTP watcher on it. I now have thousands of jobs backed up in the queue with necessary jobs mixed in. I need to clear just the bad jobs from the queue and I need to do so without clicking through hundreds of pages and checking boxes. Please help.
Solved
How do I selectively clear job queue.
Best answer by david_r
The easiest is probably to chain together some HTTPCallers and Testers and delete them using the REST API.
Since it's probably (hopefully) a one-off, you can simplify it by hard-coding the token in the headers.
To get a list of all the queued jobs with their detailed information:
GET /fmerest/v3/transformations/jobs/queued?limit=-1&offset=-1To delete a specific job ID:
DELETE /fmerest/v3/transformations/jobs/queued/{id}More information here:
https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

