Skip to Content

Union Action Block

When the Union action block adds a resultset to another resultset, it adds another <Rowset>/<Row> complex to the first resultset including another <Columns> definition as well. I know grids and that will work with this but it means that if I want to apply further actions to the merged resultset, I have to have logic that traverses the multiple rowsets.

I tried append xml like this -

Local.WorkStockpileXml{/Rowsets/Rowset} = MappedXML2_2ndLeg.Output{/Rowsets/Rowset/Row}

but this only appends one row.

Is there a way where I can put the second resultset rows into the same rowset as the first in one step (i.e. without having to loop)?

Cheers.

Message was edited by:

Laurie Paulin

Message was edited by:

Laurie Paulin

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 26, 2007 at 10:25 AM

    Hi, Laurie. This is what the "Normalize" action will do for you. The only requirement is that both resultsets have the same # of rows.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 27, 2007 at 03:53 AM

    Hi Laurie,

    in addition to Rick's suggestion, if both Rowsets contain time-series data (i.e. have a DateTime column with time stamps), you can use the TimeInterpolator action to merge them even if they have a different number of rows.

    Sascha

    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.