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.  Dynamically updating brx for execute brx node

    Employee
    Posted 05-25-2016 21:40

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

    Originally posted by: residnt

    Hello There,

    I'm putting together a workflow that will need to have different brx files to be executed depending on the procedure i'm trying to execute. With the BRX node I cannot put in a field name into the brx location only parameters. Is there a way that I can do this? I'm trying to simplify down the graph as much as possible and would like to be able to set up 'custom' brx files if needed and called on demand.

    The only way that I can think of doing this is passing the brx file name as a parameter to an execute brx which then executes another execute brx just so it can pass on the correct value but seems like a cludgy way of doing it.

    Hope that makes sense
    residnt


  • 2.  RE: Dynamically updating brx for execute brx node

    Employee
    Posted 05-26-2016 10:03

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

    Originally posted by: ltolleson

    Unfortunately there is no clean way of doing what you want. I would suggest using the method you have described. See my attached example. You will need to replace any directories with your own and recreate the ProcessGraph brx's after you change the path to the output files. Normally I would pass in these directories as parameters, but didn't since this is just an example.

    There are 5 graphs in my solution

    1) The main graph, which determines which graph(s) need to run and passes the GraphName to the SubGraph as a parameter.
    2) The sub graph, which executes any process graphs based on the GraphName sent from the main graph.
    3) 3 Process graphs, each will either run or not based on whether the graph is called from the main graph.

    Hope this helps. Yes, it is a bit cludgy, but once setup it works quite nice.

    Thanks,
    Larry
    Attachments:
    ExecuteBRX.zip


  • 3.  RE: Dynamically updating brx for execute brx node

    Employee
    Posted 05-31-2016 09:29

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

    Originally posted by: residnt

    Yeah that is what I needed to do. But the good thing with this is I can just create a runner for lack of a better term and pass in all the parameters that I need for the child graphs to run. I think the only issue that I would run into would be getting the appropriate logging if something errors out in the flow which I have set it for the runner graph at this point.

    Thanks
    Jason