I am trying to determine the best-practice for associating jobs with the queue items that triggered them via webhooks. Here is what I am trying to do:
--> Create queue item, create a reference to that job along with a unique identifier in my database --> Listen for job.completed webhooks, and mark the job complete in my database
It seems that one way to do this is:
→ Pass a unique ID as part of the SpecificContent property when creating the QueueItem
→ Pass it through the job as a an In/Out argument, so that it appears in the OutputArguments object that shows up in the job.completed webhook.
Best this feels like a hack, not best practice. Are there better practices out there?
I have the same issue. How can I create reference from queue item to job? And I have quesition is it possible to get output arguments, when the job failed?
I have this issue also. We are using the Queue Schema and Hookups and need to link the Job ID and Queue ID to get all info the arguments in the Queue Transaction.