Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Intermediate responses ?

New Here ,
Nov 20, 2013 Nov 20, 2013

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

TOPICS
Actions and scripting
622
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Mentor ,
Nov 20, 2013 Nov 20, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2013 Nov 20, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines