You should not override the bh object. For example, you should not assign the following values to the bh object:
|
You can create any number of input or local variables in the Start and Script nodes of a flow.
To create input or local variables in the Start node, create a service or open an existing service, and perform the following steps:
If you want to set an input or local variable as an output variable (so that the variable can be accessed outside the flow), then you have to create the property only in the Start node and toggle the Output to True. |
To create input or local variables in the Script node, create a service or open an existing service, and perform the following steps:
JavaScript |
bh.input.modelrApiURL='http://localhost:24483/'; |
You cannot set input or local variables as output variables from the Script node. You have to use the Start node to do this operation. |