Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: jdeehanI wish to run graph B within graph A.
To do this, I am using an Execute BRX node and passing in my fields as static data as below:
field1, field2, field3...
value1, value2, value3...
field 1 is to be used in a filter node within graph B as BrainScript code. It is written as such:
emit *
{{*field1*}}
I am able to enter value1 manually into graph B as a run time parameter that is BrainScript, text or a string that gets compiled as BrainScript in my filter node and execute it manually.
However, when I save my graph as an Executable (BRX). It won't allow me to have an inherited parameter within the filter node that is to be used as BrainScript. It gives the message:
Unexpected character ({) at line 2.
This error occurs whether I leave the run time parameter blank or I populate it.
Yet it still saves, just causing an error in the Execute BRX node.
I have tried calling this parameter with {{$field1$}}, {{*field1*}} and {{^field1^}} but the same error occurs.
I have also tried having the Parameters 1 inheriting from the run time parameter and have the filter node call the Parameter 1 instead.
The thing that makes me believe this is possible is that graph B executes when I manually enter a value for the run time parameter and execute it manually.
Is there any logic in the BrainScript of the filter that would stop this error being thrown or a BrainScript wrapper? Or any features to the Execute BRX node that would allow the BRX to Execute with this parameter being compiled by the filter node?
Cheers,
James