title: How can I call TriggerJob with custom jobDataMap?
body: <p>I've got a Quartz.NET job which I set up as follows:</p>
  
  <pre><code>var jobKey = new JobKey("JobName", "JobGroup");
  var triggerKey = new TriggerKey("JobName", "JobGroup");
  var jobData = new JobDataMap();
  jobData.Add("SomeKey", "OriginalValue");
  var jobDetail = JobBuilder.Create&lt;JobClass&gt;()
                      .WithIdentity(jobKey)
                      .StoreDurably()
                      .UsingJobData(jobData)
                      .Build();
  Scheduler.AddJob(jobDetail, true);
  var triggerDetail = TriggerBuilder.Create()
                          .WithIdentity(triggerKey)
                          .StartNow()
                          .WithDailyTimeIntervalSchedule(x =&gt; x.OnEveryDay()
                              .StartingDailyAt(TimeOfDay.HourAndMinuteOfDay(04, 07))
                              .EndingDailyAt(TimeOfDay.HourAndMinuteOfDay(06, 07))
                              .WithMisfireHandlingInstructionFireAndProceed())
                          .ForJob(jobKey)
                          .Build();
  Scheduler.ScheduleJob(triggerDetail);
  </code></pre>
  
  <p>I am trying to manually trigger that job using the following code:</p>
  
  <pre><code>var jobData = new JobDataMap();
  jobData.Add("SomeKey", "SomeValue");
  TaskScheduler.Scheduler.TriggerJob(new Quartz.JobKey("JobName", "JobGroup"), jobData);
  </code></pre>
  
  <p>When I run the manual trigger this piece of code, the value in</p>
  
  <pre><code>context.JobDetail.JobDataMap["SomeKey"] 
  </code></pre>
  
  <p>is </p>
  
  <pre><code>"OriginalValue"
  </code></pre>
  
  <p>rather than</p>
  
  <pre><code>"SomeValue" 
  </code></pre>
  
  <p>as I would expect. What am I doing wrong?</p>