LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Passing Multiple Inputs to BRX as parameters

    Employee
    Posted 01-11-2011 17:24

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: TheBishop

    Hi All,

    Happy New Year.

    I am having some trouble with a pair of graphs (parent and brx). The brx is executing and reporting success but no output files are created. The brx graph runs fine if I hard code in the runtime parameters but doesn't work when run as a brx.

    Can anyone help?

    Cheers,

    BB

    I have included a simplified parent graph and (hopefully) all the additional files required. The parameter CalculationsPath points to the brx and Embedded Network List.txt and the parameter BillingFilePath (and BillingFilePathNoEscape) point to the folder that 05_10 is in.
    Attachments:
    Lavastorm Forum Upload.zip


  • 2.  RE: Passing Multiple Inputs to BRX as parameters

    Employee
    Posted 01-12-2011 07:05

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    TheBishop,

    Unfortunately I do not have access to my BRE install at the moment, so I apologize if this is off-base. (e.g. I can't load your example graph)

    I assume from your description you have a graph which calls the Execute BRX node, which then calls your child graph.

    Runtime Parameters to a sub-graph need to be passed to the Execute BRX node as input data. So if you have a BRX with a runtime parameter FOO, and you want to give it the value BAR, the Execute BRX node will need to be given an input record with a field "FOO", with a record value "BAR". Execute BRX will run its specified sub-graph once per input record. Each record must contain a field for each runtime parameter, with valid values.

    Are you passing in your parameter values in this fashion?

    Regards
    Timon Koufopoulos
    MDA Support.


  • 3.  RE: Passing Multiple Inputs to BRX as parameters

    Employee
    Posted 01-12-2011 13:51

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: TheBishop

    Yes, I have managed to do this with only 1 input -> parameter in a different parent/brx pair.

    The last record (that I didn't include in the example data) being passed into the brx had a null for one of the values but I assume that at worst that would only cause the last run of the brx to fail not the previous ones.


  • 4.  RE: Passing Multiple Inputs to BRX as parameters

    Employee
    Posted 01-13-2011 10:35

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    TheBishop,

    Your issue would appear to be more, at this point, than a how-to question or request for clarification. This looks more like a Support issue.

    I recommend that you contact MDA Support, at DesktopSupport@mda-data.com, and open a ticket on your problem, as it seems some degree of investigation is needed here. I or another of the staff will handle it through that channel. You will want to send along your materials with your email.

    As a note, I had difficulty trying to run your graph with the input file provided (Embedded Network List.txt). Can you verify it's contents and that it runs when you send your email?

    Regards,
    -Timon