Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.

This Example Doesn't Work As-Is #9

@mikepuglisi

Description

@mikepuglisi

One example of a bug in this branch is

Line 242 in

https://github.com/TwilioDevEd/task-router-node/blob/master/lib/workspace.js

// INCORRECT

EVENT_CALLBACKUrl: EVENT_CALLBACK,

// CORRECT

eventCallbackUrl: EVENT_CALLBACK,

This bug prevents a callback URL from being added to the workspace, which results in the majority of the intended functionality not working.

I'm running into other issues as well, but I have one question I'm hoping someone can answer..

What line of code and/or setting in this example results in the task not staying in a "wrapping" Assignment Status? I'm trying to apply this example to my own code, but my code results tasks being left with an Assignment Status of "wrapping" indefinitely until I go into the twilio interface and remove it manually. This "task-router-node" branch clears the task automatically somehow, but I can't figure out how that happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions