How to access Bot Framework Composer dialog variables in PVA

1.3k views Asked by At

How do we reference the variables defined in Bot Framework Builder like conversation.something in PVA?

2

There are 2 answers

1
Bas On

As of December 2020, it is not yet possible to reference variables initialized in Composer directly in Power Virtual Agents. This is expected to come in a later release.

The workaround expected to appear mid-January 2021 is to define the variable in Power Virtual Agents. You could create a topic without trigger phrases that has a question initializer for this variable, and assign the variable's value from Composer. Today, the virtualagent memory scope is read-only but this has been fixed and is in the process of being released.

Source: I work on Power Virtual Agents.

0
Paul On

This works now!

Variable definition in PVA: Variable in PVA

In Composer: Dialog in Composer

Output: PVA output