title: azure durable function triggers without reason
body: <p>I started using Durable Functions and my workflow works correctly, but time to time, one of my functions continues to be triggered and ruins all my outputs. I guess this function is triggered because failed few days ago when I started using durable functions. <br></p>
  <p>I tried to purge/delete all history, but the functions still triggers every time I restart my app... Last time I called my orchestrator was 2 days ago, but this function still shows up without any reason...</p>
  <p>That's how I deleted/purged all history</p>
  <pre><code>            var createdTimeFrom = DateTime.UtcNow.AddDays(-365);
              var createdTimeTo = DateTime.UtcNow.AddHours(12);
              var runtimeStatus = new List&lt;OrchestrationStatus&gt;
              {
                  OrchestrationStatus.Completed,
                  OrchestrationStatus.Failed,
                  OrchestrationStatus.Terminated,
                  OrchestrationStatus.Running,
                  OrchestrationStatus.ContinuedAsNew,
                  OrchestrationStatus.Pending,
                  OrchestrationStatus.Canceled
              };
              var result = await orchestrationClient.PurgeInstanceHistoryAsync(createdTimeFrom, createdTimeTo, runtimeStatus);
              log.LogInformation(&quot;Scheduled cleanup done, {InstancesDeleted} instances deleted&quot;, result.InstancesDeleted);
  </code></pre>
  <p>and these are the results &amp; the logs about the strange <code>archive</code> function that still triggers time to time without being called by me...</p>
  <pre><code>[2022-06-14T20:22:00.343Z] Executing 'CleanupOldWorkflows' (Reason='Timer fired at 2022-06-14T23:22:00.0281404+03:00', Id=49acc185-6780-4b2c-9d33-b5acabada7f9)
  [2022-06-14T20:22:17.747Z] Scheduled cleanup done, 49 instances deleted
  [2022-06-14T20:22:17.772Z] Executed 'CleanupOldWorkflows' (Succeeded, Id=49acc185-6780-4b2c-9d33-b5acabada7f9, Duration=17729ms)
  [2022-06-14T20:23:02.094Z] Executing 'archive' (Reason='(null)', Id=4c9852e6-238a-4337-a603-aa16e2e083dd)
  [2022-06-14T20:23:02.139Z] Executing 'archive' (Reason='(null)', Id=1fcdc522-479f-44f8-8b88-0627916dd896)
  [2022-06-14T20:23:02.197Z] Executing 'archive' (Reason='(null)', Id=d65cb7fd-55f5-41a7-85a8-176f41922865)
  [2022-06-14T20:23:02.264Z] Executing 'archive' (Reason='(null)', Id=8ff863d3-0844-490e-8f87-801ade7b68e8)
  [2022-06-14T20:23:02.326Z] Executing 'archive' (Reason='(null)', Id=04cde2b7-d6aa-42d9-b745-ba6cb3c47118)
  [2022-06-14T20:23:02.386Z] Executing 'archive' (Reason='(null)', Id=1fd3921b-ca99-4d45-a3af-fc6c8633279b)
  [2022-06-14T20:23:02.447Z] Executing 'archive' (Reason='(null)', Id=727c3c70-5b96-4e03-8198-76cd38a2f751)
  [2022-06-14T20:23:02.509Z] Executing 'archive' (Reason='(null)', Id=f0cdbf00-0636-4391-ab93-0984667046f9)
  [2022-06-14T20:23:02.568Z] Executing 'archive' (Reason='(null)', Id=6d9b9aa1-227c-4ada-b7ac-05594dc244ed)
  [2022-06-14T20:23:02.638Z] Executing 'archive' (Reason='(null)', Id=8bfb3c7c-8fa3-42ce-95c8-bcb7cfd31e43)
  [2022-06-14T20:23:28.987Z] Executed 'archive' (Succeeded, Id=f0cdbf00-0636-4391-ab93-0984667046f9, Duration=26485ms)
  </code></pre>
  <p>How is that even possible if I deleted all the history of my durable functions?</p>