title: [Unreal Engine 4]Making Node with 2 exec working together
body: <p>So here is my issue. I'm trying to create function, which goes on straight away, but also have second exec output, which goes after let's say completing loop.</p>
  
  <p>I tried to make this work with this: <a href="https://answers.unrealengine.com/questions/36107/blueprints-with-multiple-exec-output-pins.html" rel="nofollow noreferrer" title="thread">thread i googled</a>.</p>
  
  <p>However my issue is when i tried doing it with accepted answer provided i got this error:</p>
  
  <pre><code>E0434   a reference of type "TEnumAsByte&lt;EMyEnum&gt; &amp;" (not const-qualified) cannot be initialized with a value of type "EMyEnum"
  </code></pre>
  
  <p>Going furthere below there is second answer, which work but it always goes off form last possible pin.In case I show below it always fire "FinishOutput". Is there any way i can force code to output from both pins i provide? Here is how it looks in my code:</p>
  
  <p>.h file</p>
  
  <pre><code>UENUM(BlueprintType)
  enum  class EMyEnum : uint8
  {
      Output,
      FinishOutput
  };
  
  UFUNCTION(BLueprintCallable, Category = "Test", Meta = (ExpandEnumAsExecs = "Branches"))
          static void OutputTest(TEnumAsByte&lt;EMyEnum&gt;&amp; Branches);
  </code></pre>
  
  <p>.cpp file</p>
  
  <pre><code>void UAudioController::OutputTest(TEnumAsByte&lt;EMyEnum&gt;&amp; Branches)
  {
          Branches = EMyEnum::Output;
  //some code to execute before second output
          Branches = EMyEnum::FinishOutput;
  
  }
  </code></pre>