We’ve got an endpoint that will run for ~5-10 minutes doing a lot of web requests and storing of data. Typical sync job that will run 1/week or so.
I want to make this run Async without concurrency, but would like the option to show users when an existing job is already in the queue for the times when someone needs to trigger a re-sync manually, so they can see that it started and is currently running and for how long.
The tooltip on Run Async mentions a Job ID, but I couldn’t find any documentation on how to extract this (using Run Service) or what to do with the ID after I get it. Is there any support for e.g. getting the status of an endpoint job from the Job ID?