BizTalk Server Orchestration - Are dynamic, runtime loops possible in BizTalk Orchestrations?

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > Are dynamic, runtime loops possible in BizTalk Orchestrations?





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 Are dynamic, runtime loops possible in BizTalk Orchestrations?
Roel Vlemmings

2005-12-01, 7:48 am

All,

Is it possible to dynamically (at runtime) control the flow of a BizTalk
Orchestration? What I am looking for is to be able to decide at runtime to
which shape I want to loop back in the flow.

I am trying to model a sequential approval process, where each approver has
the ability to reject back to an upstream approver. So, for example, if
there are 5 approvers in the flow, the first approver can reject back to the
originator, the second approver can reject back to the first approver or the
originator, the third approver can reject back to the second or first
approver or the originator, etc. This becomes to complex to design in the
Orchestration Designer, so it's better to just make the decision at runtime.

Any help is appreciated,

Roel


Marian Drumea

2005-12-01, 8:53 pm

Hi Roel,

I am not sure I understand the question, because what happens in the
orchestration, based on your design, happens at runtime. You have the
Decision shape or you can use parallel actions with Decisions to create
a sort of CASE block.

Regardless, this looks more like a problem for HWS to solve. K2 is what
I recommend instead of HWS.

Still, I think it is even more a problem of routing messages depending
on certain parameters, at runtime. I am not sure what the shapes where
you plan to loop back should do, but, let's say they set the
destination and route the message.

You are not forced to have redundant actions and send the message right
there and then or jump to distinct areas in the orchestration where you
do similar things (like sending a message using SMTP). When you get to
the point where you know what is going to be, at runtime, update a
variable (like an email address) in the orchestration and then use it
in a generic block of functionality that does something based on the
value you setup earlier (like a generic send where you dinamically set
the To address). I know it sounds confusing and I can make it clearer
if you let me know what shapes you want to loop back to and what
happens there.

You can even route messages to distinct ports based on a simple
promoted property that you can use in a condition on the send port, all
done through configuration (less the variable update). Again, you can
separate the actual business processes that don't belong together even
in real life and then route messages between them.

Give more details, please!

Thanks,

Marian
http://www.MarianDrumea.com/BizTalk

Roel Vlemmings

2005-12-06, 7:48 am

Is this really such a difficult question. It's been on the newsgroup since
Dec 1st, with absolutely no replies...

It's seems like a straightforward scenario to me..

Roel


"Roel Vlemmings" <roel@nospam.com> wrote in message
news:%23wr7vBm9FHA.4084@TK2MSFTNGP10.phx.gbl...
> All,
>
> Is it possible to dynamically (at runtime) control the flow of a BizTalk
> Orchestration? What I am looking for is to be able to decide at runtime to
> which shape I want to loop back in the flow.
>
> I am trying to model a sequential approval process, where each approver
> has the ability to reject back to an upstream approver. So, for example,
> if there are 5 approvers in the flow, the first approver can reject back
> to the originator, the second approver can reject back to the first
> approver or the originator, the third approver can reject back to the
> second or first approver or the originator, etc. This becomes to complex
> to design in the Orchestration Designer, so it's better to just make the
> decision at runtime.
>
> Any help is appreciated,
>
> Roel
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com