Customer Portal

pass variables as parameters

Comments 3

  • Avatar
    mvarecha
    0
    Comment actions Permalink
    Hi,

    all parameters which are accessible in the graph as a placeholders are listed in graph's log.

    These parameters are available if graph is executed by "graph event listener". All parameters are related to the source of the event.
    event_run_sandbox=default
    event_graph_event_type=GRAPH_FINISHED
    event_run_graph=graph/graphAggregateSorted.grf
    event_username=clover
    event_run_id=3824
    event_timeout=0
    event_run_result=FINISHED_OK

    "event_timeout" makes sense only for graph timeout event.

    Variables accessible in email/jms templates are something different. These templates can operate with complex data structures, whereas graph parameters may be just simple values.

    Best regards,
    Martin
  • Avatar
    dnrickner
    0
    Comment actions Permalink
    Thank you for the help. event_run_graph is what I was looking for.
  • Avatar
    jhornadi
    0
    Comment actions Permalink
    How do you use a C++ program to execute another program with a parameter/variable? I need a program to execute a simulation program a specific number of times. Each time the simulation should be slightly different, so I created a variable that makes the appropriate changes. How can I make a program both run the simulation AND specify the parameter? I can also change the simulation if I have to.

Please sign in to leave a comment.