Tuesday 12 July 2016

Call and Start Orchestrations in BizTalk


This article would help you visualize the key development design in BizTalk. The main process which invoke child process by Call and Start orchestration shapes.

Lets develop a 1st child orchestration which would be invoked by the main process using call orchestration shape. Remember, call orchestration returns the control back to the caller orchestration its a synchronous process, (happens in same thread).
Add a new orchestration and in the orchestration view to add parameters right click and choose appropriate type, lets add message and variable parameters with ref and out as its directions respectively. Then we would add a simple expression shape and do the following manipulation.

Now lets, build our 2nd orchestration which would invoked using start orchestration shape. This would be asynchronous process. Create a new orchestration and add the message parameter to it with direction as In. This would assign a copy of the in message to a new message and publish it to destination system.
With the child process ready, now we will build the main process as below, drag receive, call start, message assignment and send shapes into the orchestration canvas as shown below. 

In order to configure Call and Start Orchestration shapes, double click on the shape and choose the appropriate child process and provide the parameters

Transformation can be achieved using an assignment shape by doing a dynamic transformation. 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.