text: user2970: in test.nf (dsl2) I have
     ... 
     workflow{
         a = Channel...
         processA(a)
         processB(processA.out.emitA)
         processC(processB.out.emitB)
      }
  
  The pipeline completed successfully.
  Now I want to add processC_2 that takes the output of processB.
  How do I run the workflow to bypass processA execution?
  I added processC_2 to test.nf and then did:
  nextflow run test.nf -resume run-name
  
  But it doesn't run the newly add process.
  How do I achieve my goal?
  Thank you!
  
  user6767: It is actually very hard to answer this using only the information you have provided. It'd be necessary to actually see your test.nf file and read the processes. The execution seems right and I'd guess that the processB may be not emiting any output as shown in https://www.nextflow.io/docs/latest/process.html#outputs.
  It is also possible that when using the -resume together with a specific run-name you may be recovering the state of that specific run as shown here https://www.nextflow.io/blog/2019/demystifying-nextflow-resume.html. You can try to execute it without the run-name or without the -resume flag so you can check whether the problem is with the emition and channelling of outputs between processes, or with the -resume flag.
  
original_text: 2970: <p>in test.nf (dsl2) I have</p>
  <pre><code>   ... 
     workflow{
         a = Channel...
         processA(a)
         processB(processA.out.emitA)
         processC(processB.out.emitB)
      }
  </code></pre>
  <p>The pipeline completed successfully.</p>
  <p>Now I want to add <code>processC_2</code> that takes the output of processB.</p>
  <p>How do I run the workflow to bypass processA execution?</p>
  <p>I added processC_2 to test.nf and then did:</p>
  <pre><code>nextflow run test.nf -resume run-name
  </code></pre>
  <p>But it doesn't run the newly add process.</p>
  <p>How do I achieve my goal?</p>
  <p>Thank you!</p>
   6767: <p>It is actually very hard to answer this using only the information you have provided. It'd be necessary to actually see your <code>test.nf</code> file and read the processes. The execution seems right and I'd guess that the processB may be not emiting any output as shown in <a href="https://www.nextflow.io/docs/latest/process.html#outputs" rel="nofollow noreferrer">https://www.nextflow.io/docs/latest/process.html#outputs</a>.</p>
  <p>It is also possible that when using the <code>-resume</code> together with a specific run-name you may be recovering the state of that specific run as shown here <a href="https://www.nextflow.io/blog/2019/demystifying-nextflow-resume.html" rel="nofollow noreferrer">https://www.nextflow.io/blog/2019/demystifying-nextflow-resume.html</a>. You can try to execute it without the run-name or without the <code>-resume</code> flag so you can check whether the problem is with the emition and channelling of outputs between processes, or with the <code>-resume</code> flag.</p>
  