Skip to Content
author's profile photo Former Member
Former Member

Dynamically accessing a Transaction.

Hi All,

I need to create a transaction which will have three parameters namely





Now in TransactionPath i will be assigning a Transaction full path which is dynamic, and the input parametes and input values needed to that transaction i will get through InputParameterList and InputValueList.

Now my doubt is my trx will be changing each time since it is dynamic, so how do i pass the input paramets to the dynamic transaction and i need to assign the dynamic trx output to the OutputParameters variable in my trx.

Is it possible to do ????



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 03, 2011 at 12:17 PM

    Hi Sireesha,

    If you are working in MII 12.1 or greater, use the dynamic transaction call within your called transaction. You will have to have created the other three properties within the transaction. You can feed the Dynamic Transaction Path to the dynamic transaction call action block.

    To try to clarify. You would call a first transaction, call it FirstTransaction. The first transaction could be as simple as a single sequence with a Dynamic Transaction Call action block and would have the four input transaction properties you specified.

    Pass the Full Dynamic Transaction Path to the Dynamic Transaction Call whiich will define the transaction next to be executed. If there is some parsing required before passing the remaining inputs, then do it within FirstTransaction using other action blocks. I would combine it all into a single input structure as InputXML (datatype xml). Deciding how to make a common input xml structure could be fairly challenging. It depends on how much variation in the input data from one dynamically called transaction to the next. In other words, how much difference will there be for one transaction's inputs to another via the Dynamic Transaction Call.

    I would suggest that you provide more of the business case you are trying to solve. There may be more than one way to solve your need than what you have outlined so far.



    Edited by: Michael Appleby on May 3, 2011 2:17 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.