[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ebxml-bp] Clarification - FORK and BusinessTransaction
Dale,
Here's the actual scenario I'm grappling with - and
the need
to make it visually very clear for the user what is
happening.
Classic case of a 'create order' transaction -
involving sending
a Purchase Order, and then receiving in
response Order Confirm
with ShipNotice, or Order Rejected, or BackOrder
notice.
Four possible scenarios therefore fork from this -
first is easy,
order rejected document received - done
'create order'.
Second - order confirm received followed by a
shipNotice - these
should Join into the next transaction step -
OrderFulfilment.
Then BackOrder notice should fork to "Create
BackOrder BPSS".
So we have a <BusinessTransaction> that
contains 4 documents,
and then on the <BinaryCollaboration> we
start with the 'create order',
and then want to do a Fork following that -
based on the document
received back.
OK - I see how this works now - the block approach
is OK - because
first of all you have Success and Failure
conditions, and then a
Fork for "other" that each references the document
it gets back via the conditions.
That was the missing piece - you have to add those
conditions.
Its still a bit ugly - would be better to just
allow that on the Fork directly
like the success and failure instead of indirectly - since on the
Fork you have
to look at the BusinessTransactionActivity
under the Fork to find out the BeginsWhen to figure
out what's going on.
Sequencing may throw you out too. In the
example above - the succeed
involves both a ConfirmOrder transaction and a
ShipNotice coming back.
So you have to use two success conditions and Join
them - that will work.
Ok - I think I'm getting the hang of
this!
Thanks, DW
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]