cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Can't update the value of an existing variable with the output of an Action

Hi Team,
 
I've a dialogue where I run an Action to set the initial context with external data and then I have a loop, where its last step is rebuild the context to be used for the next cycle of the loop:

Untitled picture.png

Untitled picture2.png

The problem is that currently there is no way for us to update the Context variable from the beginning of the loop, with the value returned by the RebuilContent Action.

 

The current behavior is that any Action output is always created as a new variable, not allowing you to update an existing one!

Basically, the only option we've to update the value of an existing variable, is adding a question step, but that required the user to type the value, what is not useful when the value is returned by a Power Automation call (Action).

 

My request I would like to place, is that should be possible for us to choose to get a new variable automatically created (as is now) or be able manually map the output of the Action to an existing variable (similar to what we do with the inputs).

Thank you very much in advance,
Jose Alves (joseal)

2 REPLIES 2
Highlighted
Regular Visitor

Re: Can't update the value of an existing variable with the output of an Action

Yes I am also facing the same issue, please provide a solution or an alternative approach for this.

Highlighted
Super User
Super User

Re: Can't update the value of an existing variable with the output of an Action

Hi @Chatbotdev  / @JoseAl ,

 

Unfortunately, it's not available yet.

But you can vote in these ideas here: https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Allow-Flow-response-messages-to-overw...

https://powerusers.microsoft.com/t5/Power-Virtual-Agents-Ideas/Change-the-value-of-a-variable-withou...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Power Virtual Agents course (FREE): https://www.udemy.com/pva-beginners

Helpful resources

Announcements
AmplifiedVideo3

Three ways of adding your chatbot (PVA) to Power Apps Portals

Check out this DIY D365 Agent, Power Virtual Agents video to learn more.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Kudoed Authors
Users online (6,644)