Re: Does a primary output have to be connected in all branches?

> Not sure to fully understand
> 
> You speak about primary output and then you say used in some branch...
> 
> Can you draft an exaple ?


  <p:pipeline>
    ...
    <p:identity name="foo"/>

    <p:choose>
      <p:when ...>
        <p:identity>
          <p:input name="source">
             <p:pipe step="foo" port="result"/>
          </p:input>
        </p:identity>
      </p:when>
      <p:otherwise>
        <p:identity>
          <p:input name="source">
             <p:pipe step="someotherstep" port="result"/>
          </p:input>
        </p:identity>
      </p:otherwise>
    </p:choose>
    ...
  </p:pipeline>

The primary output of "foo" is read in the when branch of the choose,
but not in the otherwise.

-- Richard

Received on Thursday, 8 November 2007 10:07:06 UTC