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.  Change the value of graph parameter within the workflow or within any node (split)

    Employee
    Posted 07-09-2014 02:31

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

    Originally posted by: rakhi

    Can we change the value of a graph parameter within the workflow or any node like Split node.
    Suppose declare a graph parameter (SourcePath ) and assign its value ("D:\lavastrom\data") in graph level.
    Example.
    SourcePath = D:\lavastrom\data
    Now we want to change the value of the AccountNo parameter with new value (D:\lavastrom\backup
    ) in the split node. I have written some logic in the node is given below.

    mvFile = "move"

    If mvFile=="move" then
    {
    SourcePath = D:\lavastrom\backup
    }


    Please let me know whether it is possible or not. If possible then how could we do this. Thanks in advance


  • 2.  RE: Change the value of graph parameter within the workflow or within any node (split)

    Employee
    Posted 07-09-2014 09:14

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

    Originally posted by: stonysmith

    Graph level and Node parameters can not be modified by Brainscript code.

    When executed on a server, all parameters across a graph are evaluated first, before the graph starts executing. That means that one node can not affect the next node's parameter values - they've already been determined.

    Depending upon what you're trying to do, the may be some way around it.
    What are you wanting to accomplish?