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

re:- XMII is there a way todynamically create local or transaction variable

Dear all,

Is there a way to create local or transaction variable dynamically inside the BLS transactions.

I have a scenario where in i am reading the XMl document and based on the number of node (sub node ) items i need to temporary save those values into transaction variable . I want to use these saved transaction variable tvalues o later insert into database

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2010 at 03:01 PM

    Hi,

    you cannot dynamically create a local property. If you need to store values, maybe one of the following ideas may help you:

    - create a XML property. You can append nodes with values as you need it

    - create an Illum doc. You can add new rows later on

    - if you want to store XML contents, you can use the queue actions. Create a queue and push XMLs on it. You can easily read those values afterwards

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      After reading your second post, I wonder why you want to temporarily store the separate values from the XML node in a local property.

      If you already have all values available in a XML, than it would be easier to process the XML directly in MII, as that is what MII does best. MII can directly access the node values and use it as input for your databse inserts. Using a repeater action, you can process 0 to n nodes. Use XPath to transfer the node values to the query parameters.

      Is this the option you are looking for, or do I miss something?

      Michael

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2010 at 06:10 AM

    closed as un resolved

    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.