Skip to main content


Power Platform Community / Forums / General / Avoid Reset of Global ...

Avoid Reset of Global Variable in PVA

Posted on by 182



I am setting bot variable from external source ( to capture pageurl and some other details. 

However, when I restart the conversation, these values get set to blank and the question where i have declared these variables start to pop up. I want to avoid the popping up of these questions which i created to set the custom variables.


I can send these variables value to onlineExcel or to a database outside and call back when the restart trigger is used, however how do I link it to the session? I tried using the guid() function in power automate, however it guid changes the value when restart/start over is used.


Any help/workaround to achieve this?

  • nikviz Profile Picture
    nikviz 182 on at
    Re: Avoid Reset of Global Variable in PVA

    Hi @HenryJammes 

    Tested and this works.
    Thanks for this.
    ConversationId remains consistent throughout the session.

  • Verified answer
    HenryJammes Profile Picture
    HenryJammes on at
    Re: Avoid Reset of Global Variable in PVA

    Hi @nikviz,

    Have you considered using the ConversationId? 

    Solved: Getting the Conversation ID value from PVA to Powe... - Power Platform Community (


Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,990

Expiscornovus Profile Picture

Expiscornovus 1,700