← Prev in month ← Prev in thread
Next in thread → Next in month →

Example 3.4.10.2 has a redundancy like that in 3.4.11.2

From
Dale Moberg <>
Date
2006-08-09T22:22:43+00:00
ID
Thread
Example 3.4.10.2 has a redundancy like that in 3.4.11.2
In 3.4.10.2 we had

 

 
<BusinessCollaboration name="Firm Order"
nameID="ID122A38D93">

       
<Role name="buyer" nameID="ID122A38DA3"/>

       
<Role name="seller" nameID="ID122A38DA5"/>

       
<TimeToPerform duration="P1D"/>

       
<Start name="ID876F38OP5" nameID="ID876F38OP5">

           
<ToLink toBusinessStateRef="IDPO3DA1"/>

       
</Start>

       
<BusinessTransactionActivity name="Place Order"
nameID="IDPO3DA1"

           
businessTransactionRef="ID122A3DD33"
hasLegalIntent="true">

           
<TimeToPerform duration="PT4H "/>

           
<Performs currentRoleRef="ID122A38DA3"
performsRoleRef="CCinitiator1"/>

           
<Performs currentRoleRef="ID122A38DA5"
performsRoleRef="CCResponder1"/>

       
</BusinessTransactionActivity>

       
<Success name="Success" nameID="D2JSK99AK"/>

       
<Failure name="Failure" nameID="DK9726AJ"/>

       
<Transition>

           
<FromLink fromBusinessStateRef="ID876F38OP5"/>

           
<ToLink toBusinessStateRef="ID122A39C23"/>

       
</Transition>

       
<Decision>

           
<FromLink fromBusinessStateRef="ID122A39C23"/>

           
<ToLink toBusinessStateRef="D2JSK99AK">

               
<ConditionExpression expressionLanguage="ConditionGuardValue"
expression="Success"/>

           
</ToLink>

           
<ToLink toBusinessStateRef="DK9726AJ">

         
      <ConditionExpression
expressionLanguage="ConditionGuardValue"
expression="Failure"/>

           
</ToLink>

       
</Decision>

   
</BusinessCollaboration>

 

 

and again the Transition element is not needed because the
Start has a ToLink (as required)

 

So we should have

 

 
<BusinessCollaboration name="Firm Order"
nameID="ID122A38D93">

       
<Role name="buyer" nameID="ID122A38DA3"/>

       
<Role name="seller" nameID="ID122A38DA5"/>

       
<TimeToPerform duration="P1D"/>

       
<Start name="ID876F38OP5" nameID="ID876F38OP5">

           
<ToLink toBusinessStateRef="IDPO3DA1"/>

       
</Start>

       
<BusinessTransactionActivity name="Place Order"
nameID="IDPO3DA1"

           
businessTransactionRef="ID122A3DD33"
hasLegalIntent="true">

           
<TimeToPerform duration="PT4H "/>

           
<Performs currentRoleRef="ID122A38DA3"
performsRoleRef="CCinitiator1"/>

           
<Performs currentRoleRef="ID122A38DA5"
performsRoleRef="CCResponder1"/>

       
</BusinessTransactionActivity>

       
<Success name="Success" nameID="D2JSK99AK"/>

       
<Failure name="Failure" nameID="DK9726AJ"/>

       

       
<Decision>

           
<FromLink fromBusinessStateRef="ID122A39C23"/>

           
<ToLink toBusinessStateRef="D2JSK99AK">

               
<ConditionExpression expressionLanguage="ConditionGuardValue"
expression="Success"/>

           
</ToLink>

           
<ToLink toBusinessStateRef="DK9726AJ">

         
      <ConditionExpression
expressionLanguage="ConditionGuardValue"
expression="Failure"/>

           
</ToLink>

       
</Decision>

   
</BusinessCollaboration>

 

Also, like the 3.4.11.2 example, the ID value mentioned in
fromBusinessStateRef is _not_ the
ID value of the BTA in the choreography.

I think the editing errors, wherever they crept in, must
have been early on. Again it might have been an ellipsis deleted or trimming
down an example to reduce their length.

 

So I think the final example (with the ID value made to
point to the first BTA should be:

 

 
<BusinessCollaboration name="Firm Order"
nameID="ID122A38D93">

       
<Role name="buyer" nameID="ID122A38DA3"/>

       
<Role name="seller" nameID="ID122A38DA5"/>

       
<TimeToPerform duration="P1D"/>

       
<Start name="ID876F38OP5" nameID="ID876F38OP5">

           
<ToLink toBusinessStateRef="IDPO3DA1"/>

       
</Start>

       
<BusinessTransactionActivity name="Place Order"
nameID="IDPO3DA1"

           
businessTransactionRef="ID122A3DD33"
hasLegalIntent="true">

           
<TimeToPerform duration="PT4H "/>

           
<Performs currentRoleRef="ID122A38DA3"
performsRoleRef="CCinitiator1"/>

           
<Performs currentRoleRef="ID122A38DA5"
performsRoleRef="CCResponder1"/>

       
</BusinessTransactionActivity>

       
<Success name="Success" nameID="D2JSK99AK"/>

       
<Failure name="Failure" nameID="DK9726AJ"/>

       

       
<Decision>

           
<FromLink fromBusinessStateRef=""IDPO3DA1"/>

           
<ToLink toBusinessStateRef="D2JSK99AK">

               
<ConditionExpression expressionLanguage="ConditionGuardValue"
expression="Success"/>

           
</ToLink>

           
<ToLink toBusinessStateRef="DK9726AJ">

         
      <ConditionExpression
expressionLanguage="ConditionGuardValue"
expression="Failure"/>

           
</ToLink>

       
</Decision>

   
</BusinessCollaboration>
← Prev in month ← Prev in thread
Next in thread → Next in month →