ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafal Rusin <rafal.ru...@gmail.com>
Subject Re: Correlation inside flow construct
Date Wed, 02 Dec 2009 09:12:59 GMT
Please define pattern attribute on invoke, like this:
<bpws:invoke...>
    <bpws:correlations>
         <bpws:correlation initiate="yes" pattern="request" set="cs"/>
     </bpws:correlations>
</bpws:invoke>

and try again.

2009/12/2 V. Seprak <vladoseprak@yahoo.com>:
>
> Hi,
>
> I have process with flow element. Inside flow element I have two sequences
> every consisting from assign invoke and receive. Something like this.
>
> <process>
>     <receive/>
>
>    <flow>
>       <sequence name="Sequence1">
>            <assign/>
>            <invoke/>
>            <receive/>
>       </sequence>
>
>       <sequence name="Sequence2">
>            <assign/>
>            <invoke/>
>            <receive/>
>       </sequence>
>    </flow>
>
>    <invoke/>
> </process>
>
> I also have three global correlation sets defined, one for main process and
> two for sequences inside flow element. Correlation set for main process is
> initialized on first receive. Remaining two correlation sets are initialized
> on invoke activities (sequence1/sequence2). All three correlation sets have
> same 2 properties (processId, sequenceId). sequenceId is set in assign
> activity (Sequence1/ Sequence2).
>
> This doesn't work and my only hint is logger message:
>
>  GeronimoLog.error(104) | org.apache.ode.bpel.common.FaultException:
> Correlation not initialized.
>
> and database table bpel_correlation_set which shows:
>
> CorrelationSet1 with value "CorrelationSet1~53~"  (correlation set
> initialized at the beginning of the process) and CorrelationSet2 and
> CorrelationSet3 with empty value column.
>
> I have also tried to put sequences each inside its own scope and define
> local scoped correlations but the result is same.
>
> Thanks for help.
>
>
>
>
> --
> View this message in context: http://old.nabble.com/Correlation-inside-flow-construct-tp26605600p26605600.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>


Regards,
-- 
Rafał Rusin
http://rrusin.blogspot.com
http://www.touk.pl
http://top.touk.pl

Mime
View raw message