|
Home > Archive > BizTalk Server Orchestration > May 2005 > Scope and parallel Actions shapes Error - Please help...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Scope and parallel Actions shapes Error - Please help...
|
|
|
| Hi all,
I've got a simple Parallel actions shape inside a scope shape in my
orchestration taken a message and construct it twice and send them to two
different places.
However, I keep getting the following error:
========================================
========================
'msgUnitFeed' if shared data is updated in a parallel then all references in
every task must be in a synchronized or atomic scope
========================================
========================
The Synchronized property of the scope is set to True and the Transaction
Type to None..
Any idea where I am going wrong. ??
Any help would be very much appreciated..
Thank you.
Kamal
| |
| Khaled M. Hnidk 2005-05-25, 7:48 am |
| I assume both of your parrallel branch is in the same scope which what the
compiler is complaining about.
What you need to do is basiclly have each branch in a seprate scope hence
your read/writes are synchronized.
one best alternative is create 2 copies of the same message and process them
in the same time.
a good tip is remove send and recieve shapes from ur parrallel processing
mechanism
Kal
http://bpinirvana.blogspot.com/
"Kamal" <kali@bca-group.comNOSPAMPLEASE> wrote in message
news:eCjf1qRYFHA.3864@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> I've got a simple Parallel actions shape inside a scope shape in my
> orchestration taken a message and construct it twice and send them to two
> different places.
>
> However, I keep getting the following error:
>
> ========================================
========================
>
> 'msgUnitFeed' if shared data is updated in a parallel then all references
> in
> every task must be in a synchronized or atomic scope
>
> ========================================
========================
>
> The Synchronized property of the scope is set to True and the Transaction
> Type to None..
>
> Any idea where I am going wrong. ??
>
> Any help would be very much appreciated..
>
> Thank you.
>
> Kamal
>
>
|
|
|
|
|