How to access 'Custom Variables' User Input in Dialog Task

How can I access in javascript the Custom Variables values, for example the ambiguousIntents userInput text? I tried with context.CustomVariables.ambiguousIntents.userInput but that didn’t work. The debug log returns an error: Cannot read property ‘ambiguousIntents’ of undefined.

Hi @ivan.mora,

Please try with context.ambiguousIntents.userInput and let us know if you are still observing an error.

Regards,
Yoga Ramya

1 Like

Thanks, Yogaramya, that solved it! :slight_smile: