Skip to main content
Best Answer

Run job via URL & specify Job Queue?

  • May 29, 2020
  • 4 replies
  • 38 views

dbaldacchino1
Enthusiast
Forum|alt.badge.img+14

Hi,

When you run an FME Server workspace, you can specify a Job Queue. Is it not possible to specify a Job Queue when running the job via the Job Submitter/Data Streaming/etc. URL? Thanks.

Best answer by hollyatsafe

Hi @dbaldacchino,

You can use the tm_tag directive to send a job to a certain queue when submitting it via a webhook URL.

e.g. https://<hostname>/fmedatadownload/Samples/austinApartments.fmw?opt_showresult=false&opt_servicemode=sync&tm_tag=<queuename>

Please see the Job Directives page of our documentation for more information on this.

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.

4 replies

Forum|alt.badge.img+2
  • Best Answer
  • May 29, 2020

Hi @dbaldacchino,

You can use the tm_tag directive to send a job to a certain queue when submitting it via a webhook URL.

e.g. https://<hostname>/fmedatadownload/Samples/austinApartments.fmw?opt_showresult=false&opt_servicemode=sync&tm_tag=<queuename>

Please see the Job Directives page of our documentation for more information on this.


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • May 29, 2020

Hi @dbaldacchino,

You can use the tm_tag directive to send a job to a certain queue when submitting it via a webhook URL.

e.g. https://<hostname>/fmedatadownload/Samples/austinApartments.fmw?opt_showresult=false&opt_servicemode=sync&tm_tag=<queuename>

Please see the Job Directives page of our documentation for more information on this.

Thanks a lot @hollyatsafe, I missed that. First time working with Job Queues if you can believe that :)


Forum|alt.badge.img+2

Thanks a lot @hollyatsafe, I missed that. First time working with Job Queues if you can believe that :)

Wow! Job Queues were new in 2018 and prior to that we used something called Job Priority which used the tag terminology. Therefore because this field was already exposed we couldn't replace it, so my tip is if you are looking to work with queues outside of the Web UI, e.g. via Webhook URLs or the Rest API, it's worth looking into tag references. Hopefully that will help with exploring this :)


dbaldacchino1
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • June 1, 2020

Wow! Job Queues were new in 2018 and prior to that we used something called Job Priority which used the tag terminology. Therefore because this field was already exposed we couldn't replace it, so my tip is if you are looking to work with queues outside of the Web UI, e.g. via Webhook URLs or the Rest API, it's worth looking into tag references. Hopefully that will help with exploring this :)

Well since we only had 1 engine, we couldn't really use this feature although we were always aware of it :) I am testing with Dynamic engines by creating a specific job queue to process workspaces that are part of a "batch" process and they're working great so far!