Change department by VARIABLE id #2246
Closed
quockhanh-tran
started this conversation in
General
Replies: 1 comment 6 replies
-
And where did you read it that this place supports that syntax? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Yes, department id is a variable as it's mentioned in the title.
I set a variable using "Update Current Chat > Set chat variable" trigger and it can be explored by LHC:

{args.chat.chat_variables_array.dep_id}
. Let's say it has the value of 2.However, when I use it as a department id in "Update Current Chat > Change department" trigger, it doesn't work. When I try with the specific id (e.g. 2), it works perfectly.

What can I do?
Beta Was this translation helpful? Give feedback.
All reactions