Hi,
I’ve two graphs (Graph1 and Graph2) in a server environment and calling Graph2 from Graph1 using RunGraph component. Also the graph name is received in Rungraph component thro’ port0-field1. Since it is a server environment, i’d to set “The same JVM” to false and therefore cannot pass parameter values to Graph2 either thro’ field1 of port0 or thro’ “command line arguments” . Now i see the only way to pass parameter value is “Graph parameters to pass” property. It looks like i can only pass workspace parameter values which are of mostly static in nature. But my requirement is to pass a dynamic parameter value to Graph2 which will get invoked three times with different parameter values each time. how should i achieve that?
Say “value1” for the first invocation of Graph2, “string2” for the second invocation, “text3” for the third invocation of Graph2.
One option i tried out is setting workspace parameter value dynamically in a transformer component before coming to Rungraph component.
getGraph().getGraphProperties().setProperty(“parametername”, parametervalue );
but that doesn’t work.
Any suggestions?
Thanks,
Senthil