Skip to Content

Introduction

Here I just want to compare debugging options (in User defined function) available in  XI and TIBCO Business Works 5.2.1.I found XI has powerful debugging mechanism by means of Container and AbstractTrace objects where in TIBCO Business Works 5.2.1 does not have debugging options within User defined function(possible by adding additional variables and mapping those variables in output parameters section of user defined function, but this is an overhead).

What is TIBCO Business Works ?

TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop and test integration projects. TIBCO BusinessWorks includes a graphical user interface (GUI) for defining business processes and an engine that executes the process.

User Defined Functions

User defined function is a program in Java to process XML data and perform business logic.We can write custom functions in both XI and TIBCO Business Works.We will see how and where they are differing each other.

Terminologies Used

Message Mapping (XI) and Process Definition (TIBCO) are mapping programs to transform one source message to one target message

Message Mapping in XI

Highlighted portion indicates “user defined function” which transforms firstname and lastname into name.

image

image

Process Definition in TIBCO

Highlighted portion indicates “user defined function” which transforms firstname and lastname into name.

image

User Defined Function – definition in XI

Trace Mode: info

Highlighted portion indicates adding required data to the trace for debugging

image

User Defined Function – definition in TIBCO

Highlighted portion indicates the business logic section. Here there is no option to debug.(Might be possible by adding additional variables and mapping those variables in output parameters section of user defined function, but this is an overhead).

image

Compilation

In XI

Will be done automatically when we run the transformation.

In TIBCO

We need to do explicitly before running the tranformation.

Setting the trace level in XI

Trace mode: info

image

Setting the trace level in TIBCO

            This is not possible here.

Output in XI

Trace mode: info

image

Output in TIBCO

Value of those variables defined in the output parameters will be displayed in the output editor. So the output will be ” SAP NetWeaver”.

Conclusion

So XI has more powerful debugging mechanism for user defined functions by providing its own API.But TIBCO business works 5.2.1 does not have built in API for debugging user defined functions.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply