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

Intermediate responses ?

New Here ,
Nov 20, 2013 Nov 20, 2013

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

TOPICS
Actions and scripting

Views

573

Translate

Translate

Report

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
Guru ,
Nov 20, 2013 Nov 20, 2013

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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