ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: if activity
Date Thu, 27 Mar 2008 17:01:23 GMT
Hi Simone,

The problem is having two activities in the first branch, and <if> executes
only a single activity (which can be a sequence). So you should have:

<if name="1">
   <condition>true()</condition>
   <sequence>
      <assign>
         <from>false()</from>
         <to part="resp" variable="respMex"/>
      </assign>
      <invoke inputVariable="respMex" [...]/>
   </sequence.
<else>
   <sequence>
      <assign>
         <from>true()</from>
         <to part="resp" variable="respMex"/>
      </assign>
      <invoke inputVariable="respMex" [...]/>
   </sequence.
</else>
</if>


On Thu, Mar 27, 2008 at 8:52 AM, Simone Maletta <simonemaletta@alice.it>
wrote:

> Hi guys,
>    I wrote this simple BPEL code to make a prove:
> <if name="1">
>    <condition>true()</condition>
>    <assign>
>        <from>false()</from>
>        <to part="resp" variable="respMex"/>
>    </assign>
>    <invoke inputVariable="respMex" [...]/>
> <else>
>    <assign>
>        <from>true()</from>
>        <to part="resp" variable="respMex"/>
>    </assign>
>    <invoke inputVariable="respMex" [...]/>
> </else>
> </if>
>
> but nothing happens.
> I know always the first brach shold be executed.
> Where is the problem? There is someone may help me???
> Thank you very much, regards
> Simone

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message