title: Azure functions: A way to trigger other Azurefunction in a http-trigger azure function?
body: <p>I need a reliable way after getting a short notification in AzureFunction1 save it fast and then trigger another Azurefunction for analysing the data and doing other stuff dependig on the anysis.</p>
  <p><a href="https://i.stack.imgur.com/ydY68.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ydY68.png" alt="short Overview of desired programm sequence" /></a></p>
  <p>I search for  a way sending an request to azure function 2 let Azure function 2 start  but will not block ending AzureFunction1. I though a PATCH HTTP-request should be used for something.</p>
  <pre><code>        [FunctionName(&quot;HttpTriger1&quot;)]
      public static async Task&lt;IActionResult&gt; Run(
          [HttpTrigger(AuthorizationLevel.Function, &quot;get&quot;, &quot;post&quot;,Route = null)] HttpRequest req,
          ExecutionContext context,
          ILogger log)
  </code></pre>
  <p>I extended the request from get, post to get, post, patch, but i don't know how I can anwser the request with 204 as Update Request for Graph APi do it.</p>
  <p>I don't know if the is a good way, but time trigger are 2 complex and very difficult to handle reliable - i tried it.</p>
  <p>So if there is another way for my problem, please make other proposals.</p>
  <p>My requirements are:</p>
  <ul>
  <li>azFunc2 should started shortly after AzFunc1</li>
  <li>azFunc2 could runner seconds  or more and in very rare worst-case more than 1 hour (worst case could be determined and exited  an moving to midnight run or something )
  so normal execution time will second till a minute</li>
  <li>azurefunction1 will be called near 2000 times / day</li>
  </ul>
  <p>I hope someone can help me.</p>
  <p>Thanks</p>