Issue with Hold and Resume Setting

Hi Team ,
I am trying to edit hold and resume setting where bot will ask user confirmation before switching.
My requirement is to add buttons along with the above message.
When i am trying to edit it in java script ,<< current-intent >> variable is not working.
Could you please help how to use kore predefined variables like << list of language >> , << current intent>> using java script

We checked with product management team. Use of < > tags are not allowed inside advance JS mode to stop some possible security attacks.

You can try to print the context variable from advanced JS tab and see if you can use some information from the bot-context.


cc: @yogaramya.mendu