Interesting problem while Creating Activity Model
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Tools > Interesting problem while Creating Activity Model




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Interesting problem while Creating Activity Model  
zeynep


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

Hello,
I have an activity model design and I am constructing my activity model from
this design. The problem is when I want to add a transition as I explained
below it gives the exception:

A non-loop transition with the specified child step already exists.
Steps can be the child of only one non-loop transition at most.

Here is my activity model design:
step1, step2, step3, step4, step5, step6
transition12 (step1-to-step2), transition 13, transition 31, transition 25,
transition52, transition 53, transition24, transition41, transition26

If you draw the diagram the transition from step5 to step3 throws exception
when I try to add it.
activityModel.AddStep(actionID, out step);
activityModel. AddTransition(sourceStepId,destinationSt
epId,
isDependentComposition[false valued], "", "", out transition);

Do you have any idea about this problem? Thanks...





[ Post a follow-up to this message ]



    RE: Interesting problem while Creating Activity Model  
Chris Whytock[MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-12-04 01:46 AM


This behaviour is by design.  As the APi tells you, any step can be the
child of at most one non-lopp transition.  Put another way, activity models
do not support the concept of "merging" paths of execution which have
diverged.

A simple example is: Imagine I have a root action, A, which has 2 child
actions, B and C.  There's a transition from A->B and A->C.  I now add an
action D, as a child of B, so I have a transition B->D.  If I try to add a
transition from C->D, I'll get that exception, since there's already a
transition which has D as a child that is not a loop transition (the B->D
transition).  This is simply a limitation that exists in activity models,
sorry.

--Chris

--------------------[vbcol=seagreen] 
from[vbcol=seagreen] 
explained[vbcol=seagreen] 
25,[vbcol=seagreen] 
exception[vbcol=seagreen] 

This posting is provided "AS IS" with no warranties, and confers no rights.

EBusiness Server Team






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:28 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register