TIBCO Tutorial: Using Process Dynamic Override to Call different Sub Processes

While developing TIBCO based solutions, most of the times we are well aware of the sub-process to be called whenever a need arises. However, in certain scenarios, we don’t know at design time which sub process to call to meet a certain requirement. In order to decide the sub process to be called at run-time, TIBCO provides dynamic override feature.

In this Step By Step TIBCO tutorial, I will explain how we can use dynamic overriding for TIBCO processes.

Example Scenario:

Let’s take the scenario of a banking project. We have a main process which gets client request over HTTP.  This process can receive requests for multiple banks. There is a sub-process available for every bank and also a default bank if no bank name is specified in the HTTP request by the client. We need to use dynamic process override feature so that we can decide at run-time the bank process to be called as a sub-process. Implementation:  Now scenario is clear. Let’s proceed with implementation of our solution. We create a process with HTTP Receiver as a process starter. This process will use HTTP Connection shared resource.  Bank Name will be sent as a parameter in HTTP request by the user.  Based on the bank name, process name will be overridden and respective bank process will be called. The process is shown in below screenshot in which you can see that process name overriding has been implemented:

 

Now we run this process in designer tester and send a HTTP request. We have A Bank, B Bank, C Bank and Default Bank sub-processes available. Let’s send a request from the browser by typing below in the URL field (localhost is the hostname and 8550 is the port name used in our HTTP Connection):

http://localhost:8550/?bank_name=B

As you can see in below diagram, based on the bank name parameter value, sub process of Bank B has been called:

 

Ajmal Abbasi

Ajmal Hussain Abbasi is Integration Consultant By Profession with 13+ years experience in Integration domain mainly with TIBCO products. He has extensive practical knowledge of TIBCO Business Works, TIBCO Cloud, TIBCO Flogo, TIBCO Mashery, TIBCO Spotfire, EMS and TIBCO ActiveSpaces. He has worked on a number of highly critical integration projects in various sectors by using his skills in TIBCO Flogo, TIBCO API Management (Mashery), TCI, Tibco Designer, TIBCO Business Studio, Adapters, TIBCO EMS, RV, Administrator, TIBCO BE, TIBCO ActiveSpaces etc. Ajmal Abbasi has experience with MuleSoft ESB as well. Ajmal Abbasi is also experienced in the area of API Management particularly with WSO2 API management platforms. Ajmal Abbasi is also experienced in developing solutions using Core Java and J2EE Technologies. You can contact Ajmal Abbasi for Consultancy, Technical Assistance and Technical Discussions.

More Posts - Website - Facebook - LinkedIn - YouTube

3 thoughts on “TIBCO Tutorial: Using Process Dynamic Override to Call different Sub Processes

  1. Muffy

    Could you please share the screenshot of your folder structure and also the folder where you kept the call processes as part of this tutorial

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *