Copy link to clipboard
Copied
Hi everyone!
I have a javascript project which is working fine, but now I need to use BridgeTalk to send intermediate responses (Just 1 bt.send(); and X bt.sendResult() back).
I have read the documentation and copied the example that is on it, but it doesn't work. bt.sendResult() returns false which means that there isn't any onResult callback function or simply the message couldn't be sent.
Does anybody know what the problem is?
Thanks in advance.
PD: Documentation's sendResult example is on JAVASCRIPT TOOLS GUIDE CS6 page 176
Copy link to clipboard
Copied
That example doesn't check to see if Bridge is running and not busy before sending the message. If Bridge is not running sendResult will return false. It should return true if Bridge is running.
Copy link to clipboard
Copied
First of all, thank you for your quick answer.
I did the test with Bridge running and not busy(it says "PUMPING" but there isn't any program sending messages), and it keeps returning false and not sending anything