Trigger Execution Id #952
-
Is there a mechanism for me to create / retrieve a unique identifier for the execution of a Trigger+Job, which is the same for a given execution of a trigger+job (regardless of if the trigger needs to retry, is executed on a different "host")? Imagine I have Job A, which is on a simple recurring (every 10 minutes) trigger, Trigger 1. The first time Trigger 1 Executed Job A, I'd like to establish an Execution Id ( Is there any mechanism in Quartz that already exposes this information, or something I can leverage to store it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think I was mistaken here. I should be able to use the TriggerDataMap, but I has miss-registered my Job as a singleton, and thus my datamap was being overwritten on subsequent Executions. |
Beta Was this translation helpful? Give feedback.
I think I was mistaken here. I should be able to use the TriggerDataMap, but I has miss-registered my Job as a singleton, and thus my datamap was being overwritten on subsequent Executions.