Simple Botflow Script not working | Community
Skip to main content
Newcomer
July 18, 2024
Question

Simple Botflow Script not working

  • July 18, 2024
  • 2 replies
  • 0 views

HI,

 

is there a documentation how to debug anything? And where can i see the debug output?

 

My problem is that even not s single line of code is working.

 

e.g.

log.debug("test"); 

fails with error.

 

 

thanks

2 replies

MGSR
Community Manager
Community Manager
July 22, 2024

Hello @Bernie78,

Welcome to the Zoom Community! We're glad to have you here.

Regarding your concern, it would be best to post it at the Developer Forum.

Have a great day. 

Employee
July 24, 2024

Hey @Bernie78 , 

You can use these debug functions for the script widget. 

It's not exactly the same, but Zoom Contact Center's script widget works similar (but not identical) to Zoom Virtual Agent's script widget, so this article is a good starting point. https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0066773

Example of logging

You can implement logging by using these functions:

log.debug("debugging enabled")
log.error("error detected")
log.info("info: yes")
log.warn("WARNINGS: ")

 
What is the user story that you're trying to accomplish with the script widget in ZVA?